Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const config = [{
$: "readonly",
fuzzy: "readonly",
jQuery: "readonly",
L: "readonly",
moment: "readonly",
odoo: "readonly",
openerp: "readonly",
Expand Down
90 changes: 90 additions & 0 deletions geospatial_plot/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
===============
Geospatial Plot
===============

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

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

This module allows to draw plots on a map. It can can be used to define
plots of agricultural land, plots for planning urban development, for
managing natural reserves, etc.

Plots are linked to partners that use the plot. The default address of a
plot will be the address of the using partner, but a separate address
can be set.

Plots can have an owning partner, if different from the actual using
partner.

**Table of contents**

.. contents::
:local:

Configuration
=============

Define a default Area Unit of Measurement in the Configuration Settings.

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:%20geospatial_plot%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
-------

* Advance Insight

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

- Ronald Portier (ronald@therp.nl)

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions geospatial_plot/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import models
42 changes: 42 additions & 0 deletions geospatial_plot/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 2025 Advanced Insight.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Geospatial Plot",
"summary": """Efficiently plots of land and agricultural data""",
"website": "https://github.com/OCA/geospatial",
"author": "Advance Insight, Odoo Community Association (OCA)",
"category": "Geospatial",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"depends": [
# Odoo Modules
"base_geolocalize",
"uom",
"mail",
# OCA Modules
"web_leaflet_lib",
"web_leaflet_draw_lib",
],
"data": [
"security/res_groups.xml",
"security/ir.model.access.csv",
"data/uom_uom_data.xml",
"views/geospatial_plot_views.xml",
"views/res_partner_views.xml",
"views/ir_actions_act_window.xml",
"views/ir_ui_menu.xml",
"views/res_config_settings_views.xml",
],
"demo": [
"demo/res_partner_demo.xml",
"demo/geospatial_plot_demo.xml",
],
"assets": {
"web.assets_backend": [
"geospatial_plot/static/src/components/map_widget/*",
],
},
"application": True,
"installable": True,
"auto_install": False,
}
18 changes: 18 additions & 0 deletions geospatial_plot/data/uom_uom_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<record id="uom_surface_acre" model="uom.uom">
<field name="name">Acres</field>
<field name="category_id" ref="uom.uom_categ_surface" />
<field name="uom_type">bigger</field>
<field name="ratio">4046.86</field>
<field name="rounding">0.01</field>
</record>

<record id="uom_surface_hectare" model="uom.uom">
<field name="name">Hectares</field>
<field name="category_id" ref="uom.uom_categ_surface" />
<field name="uom_type">bigger</field>
<field name="ratio">10000</field>
<field name="rounding">0.01</field>
</record>
</odoo>
Loading
Loading