Skip to content

Commit

Permalink
[MIG] base_geoengine_demo: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peluko00 committed Sep 30, 2024
1 parent 0044b86 commit e9f0b76
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
3 changes: 3 additions & 0 deletions base_geoengine_demo/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ Contributors
- Daniel Reis <dreis@opensourceintegrators.com>
- Alexandre Saunier <alexandre.saunier@camptocamp.com>
- Samuel Kouff <s.kouff@student.helmo.be>
- `APSL-Nagarro <https://www.apsl.tech>`__:

- Antoni Marroig <amarroig@apsl.net>

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion base_geoengine_demo/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Geo spatial support Demo",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"category": "GeoBI",
"author": "Camptocamp,Odoo Community Association (OCA)",
"license": "AGPL-3",
Expand Down
6 changes: 2 additions & 4 deletions base_geoengine_demo/models/geo_npa.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ def _compute_ZIP_total_sales(self):
else:
rec.total_sales = 0.0

Check warning on line 58 in base_geoengine_demo/models/geo_npa.py

View check run for this annotation

Codecov / codecov/patch

base_geoengine_demo/models/geo_npa.py#L58

Added line #L58 was not covered by tests

def name_get(self):
res = []
def _compute_display_name(self):
for rec in self:
res.append((rec.id, f"{rec.name} {rec.city}"))
return res
rec.display_name = f"{rec.name} {rec.city}"

Check warning on line 62 in base_geoengine_demo/models/geo_npa.py

View check run for this annotation

Codecov / codecov/patch

base_geoengine_demo/models/geo_npa.py#L62

Added line #L62 was not covered by tests
2 changes: 2 additions & 0 deletions base_geoengine_demo/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
- Daniel Reis \<<dreis@opensourceintegrators.com>\>
- Alexandre Saunier \<<alexandre.saunier@camptocamp.com>\>
- Samuel Kouff \<<s.kouff@student.helmo.be>\>
- [APSL-Nagarro](https://www.apsl.tech):
- Antoni Marroig \<<amarroig@apsl.net>\>
4 changes: 4 additions & 0 deletions base_geoengine_demo/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,10 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<li>Daniel Reis &lt;<a class="reference external" href="mailto:dreis&#64;opensourceintegrators.com">dreis&#64;opensourceintegrators.com</a>&gt;</li>
<li>Alexandre Saunier &lt;<a class="reference external" href="mailto:alexandre.saunier&#64;camptocamp.com">alexandre.saunier&#64;camptocamp.com</a>&gt;</li>
<li>Samuel Kouff &lt;<a class="reference external" href="mailto:s.kouff&#64;student.helmo.be">s.kouff&#64;student.helmo.be</a>&gt;</li>
<li><a class="reference external" href="https://www.apsl.tech">APSL-Nagarro</a>:<ul>
<li>Antoni Marroig &lt;<a class="reference external" href="mailto:amarroig&#64;apsl.net">amarroig&#64;apsl.net</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
5 changes: 1 addition & 4 deletions base_geoengine_demo/views/zip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@
<field name="the_geom_multipoint" />
</page>-->
<page string="Retail machines">
<field
name="retail_machine_ids"
context="{'default_zip_id': active_id}"
/>
<field name="retail_machine_ids" context="{'default_zip_id': id}" />
</page>
</notebook>
</sheet>
Expand Down

0 comments on commit e9f0b76

Please sign in to comment.