Geospatial Plot
geospatial_plot · OCA/geospatial
Health
55/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 9 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis
0 migration notes
3 models
5 views
0 HTTP endpoints
Description
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
geospatial_plot_form |
geospatial.plot.form | geospatial.plot | form | New |
geospatial_plot_search |
geospatial.plot.search | geospatial.plot | search | New |
geospatial_plot_tree |
geospatial.plot.tree | geospatial.plot | list | New |
res_config_settings_view_form |
view.res.config.settings.form - geospatial_plot | res.config.settings | form | Inherits base.res_config_settings_view_form |
view_partner_form |
res.partner.form - geospatial_plot | res.partner | form | Inherits base.view_partner_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (13)
-
activeBooleandefault=Truetracking=True -
country_codeCharrelated='country_id.code' -
country_idMany2one → res.countrycomodel_name='res.country'compute='_compute_res_country'help='Used to set map to draw plot on'store=True -
nameCharrequired=Truetracking=True -
owner_idMany2one → res.partnercomodel_name='res.partner'domain="[('type', '=', 'contact')]"help='The partner owning the plot'index=Trueondelete='set null'tracking=True -
partner_address_idMany2one → res.partnercomodel_name='res.partner'domain="[('type', '=', 'other')]"help='If the plot has its own address, separate from the using partner'index=Trueondelete='set null'string='Plot address'tracking=True -
partner_idMany2one → res.partnercomodel_name='res.partner'domain="[('type', '=', 'contact')]"help='The partner using the plot'index=Trueondelete='cascade'required=Truetracking=True -
plot_descriptionTextargs: 'Description' -
plot_polygonJsonhelp='This field contains the actual plot coordinates' -
plot_shape_typeSelectionselection=[('circle', 'Circle'), ('polygon', 'Polygon'), ('rectangle', 'Rectangle')] -
plot_sizeFloatcompute='_compute_plot_size'help='Plot size in selected unit of measurement' -
plot_size_sqmFloathelp='This field will be set by drawing the plot'required=Truestring='Plot size in square meter'tracking=True -
plot_uom_idMany2one → uom.uomcomodel_name='uom.uom'domain=<expr>readonly=Truetracking=True
-
default_get(self, fields_list)
New fields (1)
-
plot_uom_idMany2one → uom.uomconfig_parameter='geospatial_plot.plot_uom_id'default=<expr>domain=<expr>string='Default Plot Unit of Measure' args: 'uom.uom'
No public methods.
New fields (5)
-
leased_acreageFloatcompute='_compute_land_acreage'store=Truetracking=True args: 'Leased Plot Acreage' -
own_acreageFloatcompute='_compute_land_acreage'store=Truetracking=True args: 'Own Plot Acreage' -
plot_idsOne2many → geospatial.plotcopy=False args: 'geospatial.plot', 'partner_id', 'Area in use' -
plot_uom_idMany2one → uom.uomdomain=<expr>tracking=True args: 'uom.uom', 'Land Area Unit of Measure' -
total_acreageFloatcompute='_compute_acreage'store=True args: 'Total Plot Acreage'
-
action_create_plot(self) -
default_get(self, fields_list)