Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
ab447b4
[ADD] Demo module \o/
nbessi Sep 13, 2011
0754345
[FIX] fields_view_get that broke common behavior of function
nbessi Sep 15, 2011
72e56d0
[ADD] search to retail machine demo
nbessi Sep 15, 2011
aba39c1
[FIX] fields_view_get support map view without id
nbessi Sep 15, 2011
b8b3620
[DATA] creating more complete set of demo views
nbessi Sep 20, 2011
805e338
[add total sales in zip view]
nbessi Sep 21, 2011
bc364d7
[FIX] compatiblity with new BaseModel class
nbessi Sep 28, 2011
a40f729
[IMP] Demo data
nbessi Oct 4, 2011
572fed0
[ADD] support of spatial operator in geo_engine
nbessi Oct 7, 2011
a1dc370
[ADD] geometry operator sample
nbessi Oct 7, 2011
6aea1fc
[ADD] geoname bulk wizzard + small fixes
nbessi Feb 1, 2012
1f9afc4
[IMP] demo is now self-contained + fix in __openerp__.py
nbessi Feb 6, 2012
8b30aaf
[IMP] __openerp__ icon and coding
nbessi Feb 9, 2012
cbbcd65
[FIX] import to be compatible with python 2.6 amnd 2.7
nbessi Apr 19, 2012
cdac298
[FIX] license in base_geoengine_demo
Oct 1, 2012
2337b6d
[IMP] use edit map widget in geoengine base demo
nbessi Nov 28, 2012
632a437
[IMP] adapt base demo to new edit widget
nbessi Nov 29, 2012
4b9ae1a
[IMP] demo data now use map box
nbessi Dec 5, 2012
b9ebcc1
[INIT] V7.0 serie
nbessi Dec 28, 2012
59107f7
Using geoengine view properly
Sep 16, 2013
96c87bd
[FIX] Demo Retail Machine
Sep 26, 2013
7a04f90
[FIX] installable state of addons are set to False. They do not match…
nbessi Sep 27, 2013
4371bdd
[FIX] move all unported addons into __unported__ folder instead of ad…
Jul 2, 2014
5b1f1e5
[FIX] Use absolute imports on opnerp.addons
lmignon Mar 6, 2015
38f9ffb
[FIX] Uses the new API
lmignon Mar 5, 2015
983ce08
[IMP] Move icons to static/description.
Mar 9, 2015
4112cc9
[IMP] Extract description in __openerp__.py to README.rst
lmignon Mar 10, 2015
4b0fac3
[FIX] Add group element to the view definition of retail_machine
lmignon Mar 10, 2015
4f845c5
modify computed field to be a stored field
nbessi May 26, 2015
2bf2425
Revert function field is stored.
nbessi May 26, 2015
2bd79a4
Add search view on dummy zip
nbessi May 26, 2015
6d03e3c
Remove obsolete view attributes
nbessi May 26, 2015
87ab739
Add search view on retail
nbessi May 26, 2015
d63f4aa
[FIX] Add bug tracker url to the module description
lmignon Jun 2, 2015
4cdebd5
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
4b73c1b
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
2e0baba
[MIGR] fix menu icons path for base_geoengine_demo
yvaucher Nov 17, 2015
6295f22
[FIX] base_geoengine - allow to use multiple icons on your maps
yvaucher Jan 25, 2016
0afb4db
[MIG] Make modules uninstallable + Rename manifest files
pedrobaeza Oct 6, 2016
6fad24d
chromojs + Remove MapQuest
lmignon Jun 28, 2015
e0ab0da
Move files to comply with module structure
yvaucher Oct 8, 2016
4a00a1a
Use short license headers
yvaucher Oct 8, 2016
cb3c6cf
update format of xml files
yvaucher Oct 8, 2016
094b3d6
Move a geometry field in a second tab
yvaucher Oct 8, 2016
b09b12c
[FIX] Replace openerp imports
ecino Apr 20, 2018
f0ead32
[MIG] base_geoengine_demo: Migration to 11.0
Tonow-c2c Oct 1, 2018
03175e6
Make changes required by base_geoengine 11.0
asaunier Nov 6, 2018
3ccac9c
Add an example displaying maps in a modal window
asaunier Nov 7, 2018
0285a30
Move retail machines form view to a sheet
asaunier Nov 9, 2018
449b15c
[UPD] Update base_geoengine_demo.pot
oca-travis Mar 29, 2019
4b8fd01
[MIG] base_geoengine_demo: Migration to 12.0
yvaucher Apr 9, 2019
5401a9b
[UPD] Update base_geoengine_demo.pot
oca-travis Apr 16, 2019
2d14a39
[FIX] base_geoengine_demo readme
dreispt Nov 14, 2019
3f4b91a
[FIX] Contributors - keep only the ones mentioned in the commit history
dreispt Nov 14, 2019
3820cd5
[UPD] README.rst
OCA-git-bot Nov 26, 2019
ea4fe35
Fix compute function name
yvaucher Jan 13, 2020
803dfcc
base_geoengine_demo 12.0.1.0.1
OCA-git-bot Jan 13, 2020
a91bfda
Define _descriptions to fix warnings
yvaucher Jan 13, 2020
cfb3b84
[UPD] Update base_geoengine_demo.pot
oca-travis Jan 13, 2020
1bc652f
base_geoengine_demo 12.0.1.0.2
OCA-git-bot Jan 13, 2020
d9d96f7
[FIX] apply new pre-commit rules. pylint, etc...
legalsylvain Sep 18, 2022
6b77c89
base_geoengine_demo 12.0.1.0.3
OCA-git-bot Sep 26, 2022
0d0044e
[IMP] base_geoengine_demo: black, isort, prettier
kouffsamuel Feb 13, 2023
5c5fe42
[IMP] base_geoengine_demo: pre-commit execution
kouffsamuel Feb 13, 2023
9a97b8c
[MIG] base_geoengine_demo: Migration to 16.0
kouffsamuel Feb 13, 2023
288ec1b
[MIG] base_geoengine_demo : migration from odoo 12 to odoo 16
kouffsamuel Feb 17, 2023
c88eb63
[FIX] base_geoengine_demo : refactor geo_edit_map, add tab example in…
kouffsamuel Feb 17, 2023
736048f
[FIX] base_geoengine_demo: give template info box to geoengine view
kouffsamuel Feb 28, 2023
0f4e5d0
[FIX] base_geoengine_demo: fix format
kouffsamuel Mar 1, 2023
641f336
[ADD] base_geoengine_demo: widget badge for city info box
kouffsamuel Mar 2, 2023
85b6078
[FIX] base_geoengine_demo: retail machines view for zip
kouffsamuel Mar 6, 2023
e2b9b9b
[FIX] base_geoengine_demo: fix pre-commit
kouffsamuel Mar 6, 2023
f1df550
[FIX] base_geoengine_demo: fix tests
kouffsamuel Mar 6, 2023
1ac6585
[FIX] base_geoengine_demo: change geo_search to search
kouffsamuel Mar 7, 2023
87cf658
[FIX] base_geoengine_demo: fix compute_zip_id
kouffsamuel Mar 8, 2023
1db83e8
[FIX] base_geoengine_demo: Adding default opacity and active on startup
kouffsamuel Mar 9, 2023
5c39460
[FIX] base_geoengine_demo: change right domain on search method
kouffsamuel Mar 9, 2023
c64185c
[ADD] base_geoengine_demo: add demo vector layer example with a speci…
kouffsamuel Mar 15, 2023
4d94d61
[ADD] base_geoengine_demo: add raster layer example
kouffsamuel Mar 16, 2023
7afaf4c
[ADD] base_geoengine_demo: add options for the_geom field
kouffsamuel Mar 16, 2023
81bd119
[ADD] base_geoengine_demo: demo data and readme
kouffsamuel Mar 20, 2023
491f860
[ADD] base_geoengine_demo: add the in active_ids and not in active_id…
kouffsamuel Mar 29, 2023
92bf6ee
[IMP] base_geoengine_demo : modification of the layers sequence
kouffsamuel Apr 4, 2023
82d030a
[ADD] base_geoengine_demo: add display name for records panel
kouffsamuel Apr 11, 2023
078b2e8
[ADD] base_geoengine_demo: add editable attribute on geoengine view
kouffsamuel Apr 28, 2023
94fd855
[FIX] base_geoengine_demo: order data file in manifest
kouffsamuel May 8, 2023
fa54623
[UPD] Update base_geoengine_demo.pot
Jun 6, 2023
bf5daa5
[UPD] README.rst
OCA-git-bot Jun 6, 2023
0acaf9f
Added translation using Weblate (Spanish)
Ivorra78 Aug 8, 2023
0da6239
[UPD] README.rst
OCA-git-bot Sep 3, 2023
86b971a
Added translation using Weblate (Italian)
mymage Jan 26, 2024
dfa780b
[IMP] base_geoengine_demo: pre-commit auto fixes
Sep 30, 2024
ab93dfd
[MIG] base_geoengine_demo: Migration to 17.0
Sep 30, 2024
fdf06fd
[UPD] Update base_geoengine_demo.pot
Oct 17, 2024
0392487
[BOT] post-merge updates
OCA-git-bot Oct 17, 2024
14d2124
Update translation files
weblate Oct 17, 2024
91d9697
Added translation using Weblate (Chinese (Simplified) (zh_CN))
xtanuiha Nov 25, 2024
54513e7
Translated using Weblate (Chinese (Simplified) (zh_CN))
xtanuiha Nov 25, 2024
49553a2
fix(web icon): moves web icon to the static folder
sersanchus Feb 18, 2025
cb82f1b
[BOT] post-merge updates
OCA-git-bot Aug 27, 2025
c866cda
[IMP] base_geoengine_demo: pre-commit auto fixes
weinni2000 Sep 29, 2026
3ee9f52
[MIG] base_geoengine_demo: Migration to 18.0
weinni2000 Sep 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions TASKS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Odoo Geospatial 17.0 -> 18.0 Upgrade Tasks

- [x] base_geoengine — already at 18.0.1.2.1, matches upstream `18.0` branch
- [x] web_leaflet_lib — already at 18.0.1.1.0, matches upstream `18.0` branch
- [x] web_widget_mapbox — already at 18.0.1.0.0, matches upstream `18.0` branch
- [x] base_geoengine_demo — migrated to 18.0.1.0.0
- [x] web_view_leaflet_map — already at 18.0.1.1.2, matches upstream `18.0` branch
- [x] web_leaflet_draw_lib — already at 18.0.1.0.0, matches upstream `18.0` branch
- [x] web_widget_mapbox_demo — already at 18.0.1.0.0, matches upstream `18.0` branch
- [x] web_view_leaflet_map_partner — already at 18.0.1.0.1, matches upstream `18.0`
branch
- [x] geospatial_plot — already at 18.0.1.0.1, matches upstream `18.0` branch

All 9 modules are now on Odoo 18.0. Upgrade complete.

## Notes

- Verified via `git diff 18.0 -- <module>` producing 0 lines for all already-done
modules.
- `base_geoengine_demo` depends on `base_geoengine` (already fully migrated to 18.0).
- See `base_geoengine_demo/UPGRADE.md` for the migration details of the last remaining
module.
97 changes: 97 additions & 0 deletions base_geoengine_demo/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
========================
Geo spatial support Demo
========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9371d624f5979e25cee957002552925c74b719b957d40214d20135746086d354
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fgeospatial-lightgray.png?logo=github
:target: https://github.com/OCA/geospatial/tree/18.0/base_geoengine_demo
:alt: OCA/geospatial
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/geospatial-18-0/geospatial-18-0-base_geoengine_demo
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/geospatial&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Demonstration for the Geospatial support based on PostGIS. Read the
``base_geoengine`` description for more details.

**Table of contents**

.. contents::
:local:

Installation
============

Please refer to the ``base_geoengine`` installation instructions to
learn how to properly install this demonstration module.

Usage
=====

Please refer the ``base_geoengine`` for usage instructions.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/geospatial/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/geospatial/issues/new?body=module:%20base_geoengine_demo%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Camptocamp

Contributors
------------

- Nicolas Bessi <nicolas.bessi@camptocamp.com>
- Yannick Vaucher <yannick.vaucher@camptocamp.com>
- Laurent Mignon <laurent.mignon@acsone.eu>
- Sandy Carter <sandy.carter@savoirfairelinux.com>
- 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
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/geospatial <https://github.com/OCA/geospatial/tree/18.0/base_geoengine_demo>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
34 changes: 34 additions & 0 deletions base_geoengine_demo/UPGRADE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# base_geoengine_demo: 17.0 -> 18.0 migration log

## Changes

- Manifest version bumped `17.0.1.0.1` -> `18.0.1.0.0`.
- `README.rst` / `static/description/index.html` regenerated by the OCA
`oca-gen-addon-readme` pre-commit hook (branch references updated 17.0 -> 18.0).
- XML views (`views/zip.xml`, `views/retail_machine.xml`): `<tree>` -> `<list>` tag
rename and `view_mode="tree,..."` -> `view_mode="list,..."`, applied automatically via
Odoo's native `upgrade_code` tool (`odoo/upgrade_code/17.5-01-tree-to-list.py`, part
of the 17.0 -> 18.0 core rename of the tree/list view type). No `attrs`/`states` usage
was found in this module, so no attribute-syntax migration was needed.
- No Python API breakage found: `models/geo_npa.py` and `models/retail_machine.py`
needed no changes.

## Dependency

`base_geoengine` (this module's only dependency) was already fully migrated to 18.0
(`18.0.1.2.1`) prior to this work.

## Testing

- Clean install verified on a fresh 18.0 database (`base_geoengine_demo` +
`base_geoengine` both installed successfully, no errors/tracebacks).
- Demo data loads correctly: 455 `dummy.zip` records, 37
`geoengine.demo.automatic.retailing.machine` records.
- `odev test -i base_geoengine_demo` was attempted but is not meaningful here: this
module ships no tests of its own, and the command re-installs+tests the full
dependency graph including Odoo core `base`/`web`, which surfaced failures unrelated
to this migration (missing `rlPyCairo` render backend for a `base` QWeb barcode test,
headless-browser HOOT JS test failures, and log-level-dependent `base` test
assertions). None of these touch `base_geoengine`, `base_geoengine_demo`, or any
geospatial code.
- `ruff check --select F821,F822,F405` and `xmllint --noout` pass on all files.
1 change: 1 addition & 0 deletions base_geoengine_demo/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
26 changes: 26 additions & 0 deletions base_geoengine_demo/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2011-2012 Nicolas Bessi (Camptocamp SA)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Geo spatial support Demo",
"version": "18.0.1.0.0",
"category": "GeoBI",
"author": "Camptocamp,Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/geospatial",
"depends": ["base_geoengine"],
"data": [
"views/menus.xml",
"views/zip.xml",
"views/retail_machine.xml",
"data/npa_geom.xml",
"data/retail_machine_geom.xml",
"security/ir.model.access.csv",
],
"external_dependencies": {
"python": [
"geojson",
],
},
"installable": True,
"application": True,
}
Loading
Loading