Skip to content

Commit 0011af8

Browse files
committed
[ADD] New module geospatial_plot
New module allows to define and draw plots on a map and link them to partners.
1 parent 795f370 commit 0011af8

26 files changed

Lines changed: 2006 additions & 0 deletions

eslint.config.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const config = [{
1111
$: "readonly",
1212
fuzzy: "readonly",
1313
jQuery: "readonly",
14+
L: "readonly",
1415
moment: "readonly",
1516
odoo: "readonly",
1617
openerp: "readonly",

geospatial_plot/README.rst

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
===============
2+
Geospatial Plot
3+
===============
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:8601b623a47397d32274f67d5b79d3808f106dfffb29ea851e9103d275ab94da
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fgeospatial-lightgray.png?logo=github
20+
:target: https://github.com/OCA/geospatial/tree/18.0/geospatial_plot
21+
:alt: OCA/geospatial
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/geospatial-18-0/geospatial-18-0-geospatial_plot
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/geospatial&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module allows to draw plots on a map. It can can be used to define
32+
plots of agricultural land, plots for planning urban development, for
33+
managing natural reserves, etc.
34+
35+
Plots are linked to partners that use the plot. The default address of a
36+
plot will be the address of the using partner, but a separate address
37+
can be set.
38+
39+
Plots can have an owning partner, if different from the actual using
40+
partner.
41+
42+
**Table of contents**
43+
44+
.. contents::
45+
:local:
46+
47+
Configuration
48+
=============
49+
50+
Define a default Area Unit of Measurement in the Configuration Settings.
51+
52+
Bug Tracker
53+
===========
54+
55+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/geospatial/issues>`_.
56+
In case of trouble, please check there if your issue has already been reported.
57+
If you spotted it first, help us to smash it by providing a detailed and welcomed
58+
`feedback <https://github.com/OCA/geospatial/issues/new?body=module:%20geospatial_plot%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
59+
60+
Do not contact contributors directly about support or help with technical issues.
61+
62+
Credits
63+
=======
64+
65+
Authors
66+
-------
67+
68+
* Advance Insight
69+
70+
Contributors
71+
------------
72+
73+
- Ronald Portier (ronald@therp.nl)
74+
75+
Maintainers
76+
-----------
77+
78+
This module is maintained by the OCA.
79+
80+
.. image:: https://odoo-community.org/logo.png
81+
:alt: Odoo Community Association
82+
:target: https://odoo-community.org
83+
84+
OCA, or the Odoo Community Association, is a nonprofit organization whose
85+
mission is to support the collaborative development of Odoo features and
86+
promote its widespread use.
87+
88+
This module is part of the `OCA/geospatial <https://github.com/OCA/geospatial/tree/18.0/geospatial_plot>`_ project on GitHub.
89+
90+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

geospatial_plot/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2+
from . import models

geospatial_plot/__manifest__.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Copyright 2025 Advanced Insight.
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3+
{
4+
"name": "Geospatial Plot",
5+
"summary": """Efficiently plots of land and agricultural data""",
6+
"website": "https://github.com/OCA/geospatial",
7+
"author": "Advance Insight, Odoo Community Association (OCA)",
8+
"category": "Geospatial",
9+
"version": "18.0.1.0.0",
10+
"license": "AGPL-3",
11+
"depends": [
12+
# Odoo Modules
13+
"base_geolocalize",
14+
"uom",
15+
"mail",
16+
# OCA Modules
17+
"web_leaflet_lib",
18+
"web_leaflet_draw_lib",
19+
],
20+
"data": [
21+
"security/res_groups.xml",
22+
"security/ir.model.access.csv",
23+
"data/uom_uom_data.xml",
24+
"views/geospatial_plot_views.xml",
25+
"views/res_partner_views.xml",
26+
"views/ir_actions_act_window.xml",
27+
"views/ir_ui_menu.xml",
28+
"views/res_config_settings_views.xml",
29+
],
30+
"demo": [
31+
"demo/res_partner_demo.xml",
32+
"demo/geospatial_plot_demo.xml",
33+
],
34+
"assets": {
35+
"web.assets_backend": [
36+
"geospatial_plot/static/src/components/map_widget/*",
37+
],
38+
},
39+
"application": True,
40+
"installable": True,
41+
"auto_install": False,
42+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<odoo noupdate="1">
3+
<record id="uom_surface_acre" model="uom.uom">
4+
<field name="name">Acres</field>
5+
<field name="category_id" ref="uom.uom_categ_surface" />
6+
<field name="uom_type">bigger</field>
7+
<field name="ratio">4046.86</field>
8+
<field name="rounding">0.01</field>
9+
</record>
10+
11+
<record id="uom_surface_hectare" model="uom.uom">
12+
<field name="name">Hectares</field>
13+
<field name="category_id" ref="uom.uom_categ_surface" />
14+
<field name="uom_type">bigger</field>
15+
<field name="ratio">10000</field>
16+
<field name="rounding">0.01</field>
17+
</record>
18+
</odoo>

0 commit comments

Comments
 (0)