Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
555 commits
Select commit Hold shift + click to select a range
325a42b
Update WMTS backgrounds creation
asaunier Nov 7, 2018
a95e307
Fix JS lint errors
asaunier Nov 7, 2018
1c7abaa
Fix travis tests
asaunier Nov 8, 2018
9bd3d48
Fix layer switcher
asaunier Nov 8, 2018
7383291
Improve handling of maps in tabs
asaunier Nov 9, 2018
b624ee2
Improve WMTS background layers creation
asaunier Nov 9, 2018
45fb946
Upgrade to OL 3.20.1
asaunier Nov 9, 2018
37d6072
Move base_geoengine tests to a dedicated module
asaunier Jan 10, 2019
b596fd9
[IMP] Add custom type support for colored render
Dec 14, 2018
c02b0e3
Move base_geoengine readme in the right folder
yvaucher Feb 25, 2019
294865d
[UPD] README.rst
OCA-git-bot Feb 25, 2019
030160d
Add USAGE in base_geoengine
yvaucher Feb 25, 2019
35ff8ce
[UPD] README.rst
OCA-git-bot Feb 25, 2019
1d300b0
Mig base_geoengine to version 12.0
yvaucher Feb 23, 2019
f22d9e9
Add geo fields to odoo.fields
yvaucher Feb 23, 2019
e5b045c
Use intheritance of 'base' for GeoModel
yvaucher Feb 23, 2019
793917b
Avoid creation of columns on abstract models
yvaucher Feb 23, 2019
224bd33
pyeval was renamed pyUtils
yvaucher Feb 23, 2019
9d3931d
Make MissingError translatable for auto install of postgis extension,…
yvaucher Feb 25, 2019
c1a6edd
Simplify super calls with python 3 syntax
yvaucher Feb 25, 2019
0e987c8
Use EPSG:3857 instead of EPSG:900913
fredj Feb 25, 2019
edf3986
Remove server_resolutions field in WMTS options
fredj Feb 28, 2019
24caf42
Update OL version to OL 4.6.5
yvaucher Mar 22, 2019
cd7e8dd
JS lint
yvaucher Mar 21, 2019
a5adb84
Fix dimension field label
yvaucher Mar 22, 2019
e288bc5
Give description to geoengine view models
yvaucher Mar 22, 2019
f7fd9b9
Fix duplicate title in README.rst
yvaucher Mar 22, 2019
5e71756
Remove double title in README.rst - in source too this time
yvaucher Mar 29, 2019
168c210
[12.0][ADD] Support of Swisstopo layers
asaunier Mar 18, 2019
c0890e8
Fix selection of ttype field on ir.model.fields
yvaucher May 1, 2019
d4261fb
Bump version
yvaucher May 22, 2019
e519623
[13.0][MIG] base_geoengine
Oct 1, 2019
284f71b
Fix state of field for geo field to 'base'
yvaucher Sep 29, 2019
9984362
Remove view_type from views
Jan 23, 2020
87aa686
run pre-commit
Jan 14, 2020
af9b994
Fix Selection field display value in map info_box
yvaucher Oct 18, 2019
07b74d1
[fix] displaying relation fields in map info box - fixes #224
alpham-andela Jan 10, 2020
ae2ba19
FIX: Refresh geoengine widget after changing record through pager action
grindtildeath Dec 11, 2019
52049b5
FIX: Call render instead of renderMap to ensure geometries layers are…
grindtildeath Jan 13, 2020
4f5320a
remove executable permission from geoenigine_record.js
Jan 14, 2020
eac47f5
pre-commit with correct config
Jan 14, 2020
e54a246
Fix geometry field creation missing configurations
yvaucher Oct 1, 2019
61a5277
pre-commit
Jan 15, 2020
ffb4143
[12.0][IMP] Use default zoom when creating a map with no geometry
asaunier Oct 31, 2019
61d8506
base_geoengine 13.0.1.0.1
OCA-git-bot Feb 25, 2020
36ca55e
[IMP] base_geoengine: remove unnecessary hack
Creamaster May 14, 2020
e893dca
[UPD] Update base_geoengine.pot
oca-travis Jun 8, 2020
3c30c8a
Fix default_extent in views
TDu Jun 10, 2020
e2e52bc
base_geoengine 13.0.1.0.2
OCA-git-bot Jun 10, 2020
b669438
[LINT] pre-commit
brian10048 Apr 14, 2021
0bf8c0a
Update CONTRIBUTORS
yvaucher Oct 18, 2019
8f6dd18
[UPD] Move from travis to github actions
NL66278 Jan 10, 2023
578f2e1
[IMP] base_geoengine: black, isort, prettier
yvaucher Jan 31, 2023
06d9acd
[MIG] base_geoengine: Migration to 14.0
yvaucher Jan 31, 2023
62181fa
[FIX] base_geoengine: use shape() instead of asShape()
NL66278 Jan 10, 2023
0c0f913
Yannick Vaucher renaming to Yannick Payot
yvaucher Feb 1, 2023
5ac5a75
[14.0][FIX]base_geoengine: non-admin users can see maps
HekkiMelody Jan 10, 2023
dfc8810
[UPD] Update base_geoengine.pot
Feb 1, 2023
9b99c8b
[UPD] README.rst
OCA-git-bot Feb 1, 2023
bbbab43
[IMP] base_geoengine: black, isort, prettier
kouffsamuel Feb 13, 2023
4ae2471
[MIG] base_geoengine : migration from odoo 14 to odoo 16
kouffsamuel Feb 14, 2023
0a2f2ca
[ADD] base_geoengine: display field geo_edit_map with multipolygon an…
kouffsamuel Feb 15, 2023
d31b5d6
[FIX] base_geoengine: fix zip creation and refractor geo_edit_map
kouffsamuel Feb 15, 2023
52de926
[FIX] base_geoengine: fix retails machine and start geoengine view fix
kouffsamuel Feb 16, 2023
e7bbd83
[FIX] base_geoengine: fix geoengine view renderer
kouffsamuel Feb 18, 2023
4ba68b0
[ADD] base_geoengine: add left-side menu for layers
kouffsamuel Feb 19, 2023
966173e
[FIX] base_geoengine: display raster layers for zip and retail machin…
kouffsamuel Feb 21, 2023
ad9331f
[FIX] base_geoengine: display vector layers for zip and retail machines
kouffsamuel Feb 23, 2023
dc7f053
[FIX] remove ref to submodule
kouffsamuel Feb 24, 2023
dac0934
[FIX] base_geoengine: display info box
kouffsamuel Feb 28, 2023
eb9de74
[FIX] base_geoengine: button to edit record on info box + fix display…
kouffsamuel Feb 28, 2023
a51dc1c
[FIX] base_geogines: fix bugs and use opacity of the layer management
kouffsamuel Mar 1, 2023
3316bbd
[FIX] base_geoengine: code cleaning
kouffsamuel Mar 2, 2023
60000c0
[FIX] base_geoengine: fix pre-commit
kouffsamuel Mar 2, 2023
f847d23
[IMP][FIX] base_geoengine: start model tests and fix retail machines …
kouffsamuel Mar 6, 2023
3a86664
[IMP] base_geoengine: end model tests
kouffsamuel Mar 6, 2023
a146346
changing the default SRID (correction of the previous one)
lmarion-source May 27, 2020
152aebb
[IMP] base_geoengine: add tests from_lat_lonand to_lat_lon
kouffsamuel Mar 6, 2023
173cd9a
[IMP] base_geoengine: refactor geo_search
kouffsamuel Mar 7, 2023
ac687d4
[FIX] base_geoengine: current_field __leaf_to_sql
kouffsamuel Mar 7, 2023
4829220
[FIX] base_geoengine: Display Labels on Polygon
kouffsamuel Mar 8, 2023
2795d89
[FIX] base_geoengine: fix srid
kouffsamuel Mar 8, 2023
4bd06e0
[FIX] base_geoengine: fix column definition at install
kouffsamuel Mar 9, 2023
e1bff12
[IMP] base_geoengine: geo_search is deprecated, normal search method …
kouffsamuel Mar 9, 2023
c031fe2
[FIX] base_geoengine: fix __leaf_to_sql by adding our own where_calc …
kouffsamuel Mar 10, 2023
aaefe8b
[FIX] base_geoengine: fix fields SRID
kouffsamuel Mar 13, 2023
a81d4c2
[IMP] base_geoengine : Access rules
kouffsamuel Mar 14, 2023
e0b7beb
[IMP] base_geoengine: Allows to define a model on the vector layer to…
kouffsamuel Mar 15, 2023
793c2f3
[FIX] base_geoengine: fix priority and add domain on geo_field_id
kouffsamuel Mar 15, 2023
9d73ca3
[IMP] base_geoengine: this code seems not to be used
kouffsamuel Mar 15, 2023
0c13de2
[ADD] base_geoengine : add copyright
kouffsamuel Mar 16, 2023
f1bcc65
[FIX] base_geoengine: Use different types of source for rasters layers
kouffsamuel Mar 16, 2023
f941b54
[ADD] base_geoengine: add the possibility to specify a color and an o…
kouffsamuel Mar 16, 2023
d19e628
[IMP] base_geoengine: readme, refactor and documentation
kouffsamuel Mar 20, 2023
d73145b
[FIX] base_geoengine: fix readme
kouffsamuel Mar 20, 2023
0353396
[IMP] base_geoengine: moving unnecessary files from the models folder
kouffsamuel Mar 20, 2023
44ada16
[ADD] base_geoengine: order the vector layer in relation to the sequence
kouffsamuel Mar 20, 2023
8b7260e
[FIX] base_geoengine: fix tests
kouffsamuel Mar 20, 2023
545c21a
[IMP] base_geoengine: setting up and extending the domain widget on t…
kouffsamuel Mar 28, 2023
6f29e90
[ADD] base_geoengine: add editing functionnality of domain of a vecto…
kouffsamuel Mar 30, 2023
35be76d
[ADD] base_geoengine: Added layer editing functionality and add a sor…
kouffsamuel Apr 4, 2023
39a5889
[ADD] base_geoengine: add access rights in the layer panel
kouffsamuel Apr 5, 2023
210f8e5
[IMP] base_geoengine: readme, documentation
kouffsamuel Apr 6, 2023
1dec3a9
[ADD] base_geoengine: adding a button to fold or unfold layers panel
kouffsamuel Apr 11, 2023
f7f4b56
[ADD] base_geoengine: adding records panel
kouffsamuel Apr 11, 2023
2785754
[IMP] base_geoengine: add some interactions to records panel
kouffsamuel Apr 11, 2023
c45fbdf
[ADD] base_geoengine: module translation
kouffsamuel Apr 11, 2023
16b7e92
[FIX] base_geoengine: fix import
kouffsamuel Apr 11, 2023
cdb1529
[IMP] base_geoengine: documentation, readme
kouffsamuel Apr 12, 2023
c72ec41
[IMP] base_geoengine: edit shape instead of redraw (geo_edit_map)
kouffsamuel Apr 25, 2023
ee59ebb
[ADD] base_geoengine : modification of records from geoengine view
kouffsamuel Apr 28, 2023
893cfb9
[ADD] base_geoengine: add zoom in localstorage
kouffsamuel Apr 28, 2023
7d80792
[ADD] base_geoengine: create records on geoengine view
kouffsamuel May 2, 2023
f71c50e
[FIX] base_geoengine: fix load related model
kouffsamuel May 8, 2023
d150cad
[FIX] base_geoengine: fix domain widget
kouffsamuel May 8, 2023
a3ac92b
[ADD] base_geoengine: add geo_lesser operator
kouffsamuel May 8, 2023
dbe385d
[FIX] base_geoengine: add some validation constraints
kouffsamuel May 12, 2023
c2df8c4
[FIX] base_geoengine: fix in domain widget
kouffsamuel May 12, 2023
879401a
[FIX] base_geoengine: fixing the Geoengine Data tab display
kouffsamuel May 12, 2023
1915627
[IMP] base_geoengine: changing the colour of a control when clicked
kouffsamuel May 15, 2023
9a786bf
[FIX] base_geoengine : fix domain widget with active_ids and add legend
kouffsamuel May 18, 2023
b471bf9
[IMP] base_geoengine: update import
kouffsamuel May 23, 2023
fdca996
[IMP] base_geoengine: remove super.setup() from
kouffsamuel May 23, 2023
3ef1a8b
[IMP] base_geoengine: replace loadJs and loadCss by loadBundle
kouffsamuel May 23, 2023
c5b7af3
[IMP] base_geoengine: use force when is necessary to add in
kouffsamuel May 23, 2023
a8c8e2b
[IMP] base_geoengine: Encapsulate calls in Promise.all
kouffsamuel May 23, 2023
ac81e0a
[FIX] base_geoengine: Fix documentation format
lmignon Jun 5, 2023
7a230e6
[UPD] Update base_geoengine.pot
Jun 6, 2023
734d1ab
[UPD] README.rst
OCA-git-bot Jun 6, 2023
d2260e6
Update translation files
weblate Jun 6, 2023
3f73ddd
Added translation using Weblate (Spanish)
Ivorra78 Aug 8, 2023
6dee6cb
Translated using Weblate (Spanish)
Ivorra78 Aug 8, 2023
f06e9ce
[UPD] README.rst
OCA-git-bot Sep 3, 2023
cdc3fe2
Update translation files
weblate Oct 9, 2023
7d23a0b
Added translation using Weblate (Swedish)
jakobkrabbe Nov 2, 2023
f558810
Translated using Weblate (Swedish)
jakobkrabbe Nov 2, 2023
d1597ab
Added translation using Weblate (Italian)
mymage Jan 25, 2024
692f2a1
Translated using Weblate (Italian)
mymage Jan 26, 2024
8e9c78e
[IMP] base_geoengine: pre-commit auto fixes
Apr 25, 2024
1e727ff
[MIG] base_geoengine: Migration to 17.0
Apr 26, 2024
dd57fb9
[UPD] Update base_geoengine.pot
Sep 27, 2024
9364785
[BOT] post-merge updates
OCA-git-bot Sep 27, 2024
4345920
Update translation files
weblate Sep 27, 2024
df7b092
Translated using Weblate (Italian)
mymage Sep 27, 2024
40da55a
[UPDATE] Add rtl ignore for persian and arabic language
Sanazzzmi Nov 18, 2024
90cfc5d
Added translation using Weblate (Chinese (Simplified) (zh_CN))
xtanuiha Nov 25, 2024
6836f0e
[BOT] post-merge updates
OCA-git-bot Nov 25, 2024
dd6b49a
Translated using Weblate (Chinese (Simplified) (zh_CN))
xtanuiha Nov 25, 2024
5e9f4fd
[IMP] base_geoengine: pre-commit auto fixes
cormaza May 26, 2025
88a522c
[18.0][MIG] base_geoengine: Migration to 18.0
cormaza May 26, 2025
1b01f93
[18.0][UPD] upgrade version of libs used in render
cormaza Jun 11, 2025
fcef997
[UPD] Update base_geoengine.pot
Jul 17, 2025
62ddc13
[BOT] post-merge updates
OCA-git-bot Jul 17, 2025
10dac94
[REF] split web_view_leaflet_map into web_view_leaflet_map and web_le…
legalsylvain Oct 12, 2024
214df33
[UPD] Update web_leaflet_lib.pot
Oct 29, 2024
6ff208b
[IMP] web_leaflet_lib: pre-commit stuff
legalsylvain Oct 29, 2024
2fa6ec7
[MIG] web_leaflet_lib. From 16.0 to 17.0
legalsylvain Oct 29, 2024
8e5b601
[UPD] Update web_leaflet_lib.pot
Nov 20, 2024
2290696
[BOT] post-merge updates
OCA-git-bot Nov 20, 2024
d3f890b
Added translation using Weblate (Italian)
mymage Nov 21, 2024
5b82bb2
Translated using Weblate (Italian)
mymage Nov 21, 2024
cac7986
[ADD] web_view_leaflet_map_partner
legalsylvain Sep 19, 2022
5b6c003
[IMP] web_view_leaflet_map*: black, isort, prettier
legalsylvain Jun 29, 2023
b86134f
[MIG] web_view_leaflet_map, web_view_leaflet_map_partner in V16
legalsylvain Jun 29, 2023
7a16854
[REF] Bump leaflet js library to 1.9.4, released on May 18, 2023. (fr…
legalsylvain Jun 29, 2023
16dd401
[UPD] Update web_view_leaflet_map_partner.pot
Dec 11, 2023
ec40f8d
[BOT] post-merge updates
OCA-git-bot Dec 11, 2023
19664be
Added translation using Weblate (Italian)
mymage Jan 26, 2024
734de0c
Translated using Weblate (Italian)
mymage Jan 26, 2024
802819c
[MIG] web_view_leaflet_map_partner: Migration to 17.0
cesarportas Oct 3, 2025
c794f4b
[IMP] web_view_leaflet_map_partner: pre-commit auto fixes
mourad-ehm Oct 20, 2025
9d1e519
[MIG] web_view_leaflet_map_partner: Migration to 18.0
mourad-ehm Oct 21, 2025
69cb08a
[MIG] web_leaflet_lib: Migration to 18.0
mourad-ehm Oct 21, 2025
268b1ce
[UPD] Update web_leaflet_lib.pot
Nov 7, 2025
91a2cc3
[BOT] post-merge updates
OCA-git-bot Nov 7, 2025
e9af68f
[FIX] web_leaflet_lib: use unminified library
NL66278 Nov 10, 2025
4dc44ac
[BOT] post-merge updates
OCA-git-bot Nov 10, 2025
ddac53d
[ADD] web_view_leaflet_map
legalsylvain Sep 14, 2022
1fe4835
[UPD] Update web_view_leaflet_map.pot
Feb 1, 2023
868339c
[UPD] README.rst
OCA-git-bot Feb 1, 2023
a3b64fb
[ADD] icon.png
OCA-git-bot Feb 1, 2023
4a77e74
[IMP] web_view_leaflet_map: black, isort, prettier
legalsylvain Jun 29, 2023
a32f26f
[IMP] web_view_leaflet_map*: black, isort, prettier
legalsylvain Jun 29, 2023
7b6fc6e
[MIG] web_view_leaflet_map, web_view_leaflet_map_partner in V16
legalsylvain Jun 29, 2023
f7a65a6
[REF] Bump leaflet js library to 1.9.4, released on May 18, 2023. (fr…
legalsylvain Jun 29, 2023
dbbbd4f
[UPD] Update web_view_leaflet_map.pot
Dec 11, 2023
801ef0c
Update translation files
weblate Dec 12, 2023
7b1fe48
Added translation using Weblate (Italian)
mymage Jan 26, 2024
7a13a4d
Translated using Weblate (Italian)
mymage Jan 26, 2024
d789949
[REF] split web_view_leaflet_map into web_view_leaflet_map and web_le…
legalsylvain Oct 12, 2024
b149c80
[BOT] post-merge updates
OCA-git-bot Oct 29, 2024
8db4664
[UPD] Update web_view_leaflet_map.pot
Oct 30, 2024
b4df15a
Update translation files
weblate Oct 30, 2024
62be839
[IMP] web_view_leaflet_map: pre-commit auto fixes
cesarportas Oct 1, 2025
0e9120e
[17.0][MIG] web_view_leaflet_map: Refactor to OWL component
cesarportas Oct 3, 2025
f1cfa76
[17.0][MIG] web_view_leaflet_map: Refactor to OWL component
cesarportas Oct 3, 2025
9934e59
Revert "Importer gitlab work"
cesarportas Oct 3, 2025
c69de2b
[17.0][MIG] web_view_leaflet_map: Refactor to OWL component
cesarportas Oct 3, 2025
ce2a6db
[17.0][MIG] web_view_leaflet_map: Refactor to OWL component
cesarportas Oct 6, 2025
0e36b0d
[17.0][MIG] web_view_leaflet_map: pre-commit fix
cesarportas Oct 6, 2025
3f45b39
[IMP] web_view_leaflet_map: pre-commit auto fixes
mourad-ehm Oct 20, 2025
cff7f0d
[MIG] web_view_leaflet_map: Migration to 18.0
mourad-ehm Oct 21, 2025
386eed2
[MIG] web_view_leaflet_map: fix view mode declaration for 18.0 migration
thibaultrey Nov 5, 2025
629c7b2
[ADD] new module web_leaflet_draw_lib
NL66278 Nov 12, 2025
2c25a80
[FIX] description: add lealflet.js Library Update instructions & pre-…
mourad-ehm Nov 17, 2025
1081602
[FIX] remove lealflet.js Library Update instructions from DEVELOP.md
mourad-ehm Nov 17, 2025
0145a6f
[BOT] post-merge updates
OCA-git-bot Nov 17, 2025
67c1b4c
[UPD] Update web_view_leaflet_map.pot
Nov 17, 2025
b475b63
[BOT] post-merge updates
OCA-git-bot Nov 17, 2025
4d97365
[UPD] Update web_view_leaflet_map_partner.pot
Nov 17, 2025
733d31f
[BOT] post-merge updates
OCA-git-bot Nov 17, 2025
b7d8316
[18.0] [IMP] web_leaflet_lib: Adding leaflet URL parameter without de…
thibaultrey Nov 18, 2025
f21a11a
[18.0] [FIX] web_view_leaflet_map: Fixed an error when no marker is p…
thibaultrey Nov 18, 2025
9bded52
[BOT] post-merge updates
OCA-git-bot Nov 18, 2025
9879749
[IMP] web_leaflet.* modules. use markercluster.
legalsylvain Nov 18, 2025
0a4a1b7
[BOT] post-merge updates
OCA-git-bot Nov 20, 2025
6398a77
[REF] web_view_leaflet_map: remove alpha status, as V18 modules are p…
legalsylvain Nov 20, 2025
699ba9e
[BOT] post-merge updates
OCA-git-bot Nov 21, 2025
df640ba
[UPD] Update web_leaflet_draw_lib.pot
Jan 18, 2026
cf2d005
[BOT] post-merge updates
OCA-git-bot Jan 18, 2026
1bd4d7d
Added translation using Weblate (Italian)
mymage Jan 19, 2026
852ff4f
[FIX #412] Load openlayers js separately (because it is not minifieble)
katyukha Jan 20, 2026
e90e87d
Apply lint fixes
katyukha Jan 20, 2026
f612287
[BOT] post-merge updates
OCA-git-bot Jan 22, 2026
b564ada
[IMP] base_geoengine: Updated field label
anusriNPS Jul 15, 2024
48db77c
[IMP][base_geoengine]: Update domain for attribute_field_id
anusriNPS Apr 17, 2025
db8acb3
[IMP] base_geoengine: Include edit button in Popup
anusriNPS Aug 7, 2025
dbbe237
[REF] web_view_leaflet_map: full refactor.
legalsylvain Jan 4, 2026
c314fb4
[UPD] Update web_view_leaflet_map.pot
Feb 2, 2026
05a183f
[BOT] post-merge updates
OCA-git-bot Feb 2, 2026
9efe533
Update translation files
weblate Feb 2, 2026
bb750fd
Translated using Weblate (Italian)
mymage Feb 4, 2026
5d873a8
[UPD] Update base_geoengine.pot
Feb 23, 2026
de26c61
[BOT] post-merge updates
OCA-git-bot Feb 23, 2026
3a2265e
Update translation files
weblate Feb 23, 2026
7ee82f7
Translated using Weblate (Italian)
mymage Feb 26, 2026
5b00420
[MIG] geospatial: Migration to 19.0
Jonasaaaa May 22, 2026
3e471d2
[REF] base_geoengine: use SQL objects for geo operators
Jonasaaaa May 22, 2026
275492e
[FIX] base_geoengine: fix CI issues
Jonasaaaa May 26, 2026
4cfbc06
[FIX] setup: update metapackage to 19.0
Jonasaaaa May 26, 2026
0a30f45
[FIX] CI: use PostGIS database service
Jonasaaaa May 26, 2026
4f50f54
[FIX] base_geoengine: satisfy 19.0 lint checks
Jonasaaaa May 26, 2026
fe49881
[FIX] base_geoengine: update res.groups user field
Jonasaaaa May 26, 2026
ff69306
[FIX] base_geoengine: load test models natively
Jonasaaaa May 26, 2026
cc444c0
[FIX] base_geoengine: fix geo domain subqueries
Jonasaaaa May 26, 2026
79df48e
[FIX] base_geoengine: decode hex WKB cache value before flushing to c…
Jonasaaaa May 26, 2026
5cf6c1b
[FIX] base_geoengine: pass groupBy as an array to RelationalModel config
Jonasaaaa May 26, 2026
3b714ea
[FIX] base_geoengine: avoid empty exception handler
Jonasaaaa May 27, 2026
47f5f69
[FIX] web_view_leaflet_map: reload markers on search domain change
Jonasaaaa May 31, 2026
5080da5
[FIX] web_view_leaflet_map: show the search bar on the map view
Jonasaaaa May 31, 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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
makepot: "true"
services:
postgres:
image: postgres:13
image: postgis/postgis:13-3.5
env:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
Expand Down
368 changes: 368 additions & 0 deletions base_geoengine/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,368 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===========================
Geospatial support for Odoo
===========================

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

.. |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/license-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
: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
: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|

GeoEngine is an Odoo module that adds spatial/GIS capabilites to Odoo.
It will allow you to :

- Visualize and query your business information on map
- Perform GeoBI and spatial query
- Configure your spatial layers and spatial datasources
- Extend Odoo models with spatial columns

GeoEngine relies on `OpenLayers <http://openlayers.org>`__ and
`PostgGIS <http://postgis.refractions.net/>`__ technologies.

Postgis is used to store spatial information in databases. OpenLayer is
used to represent spatial data in other words to show maps and the
different spatial layers. The GeoEngine module acts as a data provider
and as an OpenLayers configurator. It also provides a complete extension
to Odoo ORM.

**Table of contents**

.. contents::
:local:

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

To install this module, you need to have
`PostGIS <http://postgis.net/>`__ installed.

On Ubuntu:

::

.. code-block:: bash

..

sudo apt-get install postgis

The module also requires two additional python libs:

- `Shapely <http://pypi.python.org/pypi/Shapely>`__
- `geojson <http://pypi.python.org/pypi/geojson>`__

When you will install the module this two additional libs will be
installed.

For a complete documentation please refer to the `public
documenation <http://oca.github.io/geospatial/index.html>`__

Usage
=====

Geoengine Demo
--------------

1. As a user/admin, when I am in the Geoengine Demo module and I go to
the ZIP menu. When I click on an item in the list view, I get to the
form view showing me the different information about the ZIP. We can
see its ZIP, city, priority, total sales and his spatial
representation.
2. As a user, I can't modify the information in the form view.
3. As an admin, I can modify the information in the form view. I can
click on the bin button to clear the map and I can draw a new shape.
4. As a user, when I go the "Retail machines" tab and there are no
items to display, it does not show me anything.
5. As an admin, when I go the "Retail machines" tab and there are no
items to display, the list view of the retail machines suggests to
me to add a new line.
6. As a user/admin, if there are items to be displayed in the "Retail
machines" tab then I can click on an item and the retail machines
form view will be displayed. We can see its spatial representation
by going to "The point" tab and its attributes in "Attributes" tab.
7. As a user/admin, when I go to the geoengine zip view by clicking on
the map button at the top right of the screen. The geoengine view
appears with the first 80 results displayed on the map. The vector
layers selected are those defined as "active on startup" by the
admin. The selected raster layer is the first one that is not an
overlay layer.
8. As a user/admin, when I hover over an area on the map, the area
changes its style.
9. As a user/admin, when I click on an area, a popup appears an I can
see the different information about the area. If I click on the
cross, the popup will disappear. If I click somewhere else on the
map, the popup will also disappear. If I click on the about button,
then the form view will be displayed.
10. As a user/admin, when I use the paging system, then the results
displayed on the map are different (corresponding to the request).
11. As a user/admin, if we use the search bar, we can search results by
his zip or his city.
12. As an admin, if I change the sequence of layers with the handle
button then the change are persisted in database.
13. As a user, if I change the sequence of layers with the handle button
then the change are not persisted in database. There are just the
changes in the display.
14. As an admin, if I change the domain of a layer with the filter
button then the change are persisted in database.
15. As a user, if I change the domain of a layer with the filter button
then the change are not persisted in database. There are just the
changes in the display.
16. As an admin, I have the possibility to edit the layer with its
corresponding button.
17. As a user/admin, I can open/close LayerPanel with its button.
18. As a user/admin, I can open/close RecordsPanel with its button.
19. As a user/admin, when I click on a record in RecordsPanel, a move is
made on the map to the selected record.
20. As a user/admin, when I click on a record in RecordsPanel, I can
also click on the left magnifying glass to zoom on the record.
21. As a user/admin, when I click on a record in RecordsPanel, I can
also click on the right magnifying glass to get the original zoom.
22. As a user/admin, I can use the search bar to search in the
RecordsPanel.
23. As an admin,If the geoengine view is in edit mode, I can create new
records by drawing them in the view.
24. As an admin, If the geoengine view is in edit mode, I can modify its
spatial representation.

Geoengine Backend
-----------------

1. As an admin, if I go into the configuration of the raster layers and
it has elements, I can click on one and see its information.
2. As an admin, if I want to create a new raster layer, I can click on
"NEW" and fill out the form. The required fields for OpenStreetMap
type are "Layer Name" and "Related View". If we want to have a WMTS
(Web Map Tile Service) raster type. The required fields in addition
to the precedents are "Service URL", "Matrix set","Format",
"Projection" and "Resolutions". If we take WMS (Web Map Service)
raster type, then the required fields are "Layer Name", "Related
View", "Service URL", "Params", "Server Type".
3. As an admin,if I go into the configuration of the vector layers and
it has elements, I can click on one and see its information.
4. As an admin, if I want to create a new vector layer, I can click on
"NEW" and fill out the form. The required fields are "Layer Name",
"Related View", "Geo field" and "Representation mode".

Known issues / Roadmap
======================



Changelog
=========

16.0.1.0.0 (2023-03-20)
-----------------------

- LayerSwitcher has been removed as it was not really practical. A
LayerPanel is now active.
- The geo_search method is now deprecated and replaced by the standard
odoo search method.
- The widget "geo_edit_map" attribute is no longer necessary as the
field is automatically detected by his type. We can also provide an
option attribute that allows us to pass an opacity and a color as
parameters.

.. code:: xml

<form>
<notebook colspan="4">
<page string="Geometry">
<field name="the_geom" options="{'opacity': 0.8, 'color': '#0000FF' }" />
</page>
</notebook>
</form>

- The method geo_search is now deprecated. We now need to use the
standard odoo search method.

.. code:: python

obj.search([("the_point","geo_intersect",{"dummy.zip.the_geom": [("id", "=", rec.id)]})])

- We can now pass to the geoengine view a template to display the
information we want to see when clicking on a feature.

.. code:: xml

<geoengine>
<field name="name" />
<field name="city" />
<field name="total_sales" />
<field name="the_geom" />
<templates>
<t t-name="info_box">
<field name="city" widget="badge" />
<ul>
<li>ZIP : <field name="name" />
</li>
<li>Total Sales: <field name="total_sales" />
</li>
</ul>
</t>
</templates>
</geoengine>

- We can now pass a model to use to a layer to display other information
on the map.

.. code:: xml

<record id="geoengine_vector_layer_hs_retail_machines" model="geoengine.vector.layer">
<field name="model_id" ref="base_geoengine_demo.model_geoengine_demo_automatic_retailing_machine"/>
<field name="model_domain">[('state', '=', 'hs')]</field>
<field name="geo_field_id" ref="base_geoengine_demo.field_geoengine_demo_automatic_retailing_machine__the_point"/>
<field name="name">HS retail machines</field>
<field name="view_id" ref="ir_ui_view_resbetterzipgeoview0" />
<field name="geo_repr">basic</field>
<field name="attribute_field_id" ref="base_geoengine_demo.field_geoengine_demo_automatic_retailing_machine__name"/>
<field name="begin_color">#FF0000</field>
<field name="display_polygon_labels" eval="0" />
<field name="layer_opacity">0.8</field>
</record>

- There is some new features in the LayerPanel.

1. If you are logged in as an admin, you have the possibility to edit
the layer by clicking on the edit button. This will open a dialog
box. Changes will appear in real time on the view.
2. If you are logged in as an admin, you can also change the domain of
the layer. If you are logged in as a user, changes will not be
persisted in the database. Changes will appear in real time on the
view.
3. If you are logged in as an admin, you can also change the sequence of
the layers by sliding them over each other. If you are logged in as a
user, changes will not be persisted in the database.

- Widget domain is now implemented for geo field This means that the
geo-operators are also implemented and that there is the possibility
to add a sub-domain. If we want to add a domain that includes all the
records that are displayed in the geoengine view (active_ids). We can
use the two new operators : "in active_ids" and "not in active_ids".
These will automatically replace the marker with ids. Note that the
widget will indicate that the domain is invalid because of the marker.
- Creation of the RecordsPanel. This panel allows you to retrieve all
active records. You can click on record to get the movement to the
selected record. Two magnifying glass are also available. You can
click on the left one to zoom on the record. You can click on the
right one to get the original zoom.
- A search bar is also available. It allows you to perform a search into
the RecordsPanel.
- A button to open/close the panels is also available.
- The module has been translated in French.
- Now you can now make the geoengine view editable. Simply add editable
attribute in the geoengine view.

.. code:: xml

<geoengine editable="1">
<field name="name" />
<field name="city" />
<field name="total_sales" />
<field name="the_geom" />
<field name="display_name" />
<templates>
<t t-name="info_box">
<field name="city" widget="badge" />
<ul>
<li>ZIP : <field name="name" />
</li>
<li>Total Sales: <field name="total_sales" />
</li>
</ul>
</t>
</templates>
</geoengine>

Thanks to that, you can create new records by drawing them directly in the geoengine view. You can also edit record in the same view.

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%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
* ACSONE SA/NV

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

- Nicolas Bessi <nicolas.bessi@camptocamp.com>
- Frederic Junod <frederic.junod@camptocamp.com>
- Yannick Payot <yannick.payot@camptocamp.com>
- Sandy Carter <sandy.carter@savoirfairelinux.com>
- Laurent Mignon <laurent.mignon@acsone.eu>
- Jonathan Nemry <jonathan.nemry@acsone.eu>
- David Lasley <dave@dlasley.net>
- Daniel Reis <dgreis@sapo.pt>
- Matthieu Dietrich <matthieu.dietrich@camptocamp.com>
- Alan Ramos <alan.ramos@jarsa.com.mx>
- Damien Crier <damien.crier@camptocamp.com>
- Cyril Gaudin <cyril.gaudin@camptocamp.com>
- Pierre Verkest <pverkest@anybox.fr>
- Benjamin Willig <benjamin.willig@acsone.eu>
- Devendra Kavthekar <dkatodoo@gmail.com>
- Emanuel Cino <ecino@compassion.ch>
- Thomas Nowicki <thomas.nowicki@camptocamp.com>
- Alexandre Saunier <alexandre.saunier@camptocamp.com>
- Sandip Mangukiya <smangukiya@opensourceintegrators.com>
- Samuel Kouff <s.kouff@student.helmo.be>
- `APSL-Nagarro <https://www.apsl.tech>`__:

- Antoni Marroig <amarroig@apsl.net>
- Miquel Alzanillas <malzanillas@apsl.net>

- Red Butay <>
- Sergio Sancho <sersanchus@gmail.com>

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>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions base_geoengine/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from . import models
from . import expressions
from . import fields
from . import geo_convertion_helper
from . import geo_operators
from .geo_db import init_postgis
Loading
Loading