Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 9 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 5

XML IDNameModelTypeStatus
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)
  • active Boolean
    default=True tracking=True
  • country_code Char
    related='country_id.code'
  • country_id Many2one → res.country
    comodel_name='res.country' compute='_compute_res_country' help='Used to set map to draw plot on' store=True
  • name Char
    required=True tracking=True
  • owner_id Many2one → res.partner
    comodel_name='res.partner' domain="[('type', '=', 'contact')]" help='The partner owning the plot' index=True ondelete='set null' tracking=True
  • partner_address_id Many2one → res.partner
    comodel_name='res.partner' domain="[('type', '=', 'other')]" help='If the plot has its own address, separate from the using partner' index=True ondelete='set null' string='Plot address' tracking=True
  • partner_id Many2one → res.partner
    comodel_name='res.partner' domain="[('type', '=', 'contact')]" help='The partner using the plot' index=True ondelete='cascade' required=True tracking=True
  • plot_description Text
    args: 'Description'
  • plot_polygon Json
    help='This field contains the actual plot coordinates'
  • plot_shape_type Selection
    selection=[('circle', 'Circle'), ('polygon', 'Polygon'), ('rectangle', 'Rectangle')]
  • plot_size Float
    compute='_compute_plot_size' help='Plot size in selected unit of measurement'
  • plot_size_sqm Float
    help='This field will be set by drawing the plot' required=True string='Plot size in square meter' tracking=True
  • plot_uom_id Many2one → uom.uom
    comodel_name='uom.uom' domain=<expr> readonly=True tracking=True
Public methods (1)
  • default_get(self, fields_list)

New fields (1)
  • plot_uom_id Many2one → uom.uom
    config_parameter='geospatial_plot.plot_uom_id' default=<expr> domain=<expr> string='Default Plot Unit of Measure' args: 'uom.uom'
Public methods (0)

No public methods.

New fields (5)
  • leased_acreage Float
    compute='_compute_land_acreage' store=True tracking=True args: 'Leased Plot Acreage'
  • own_acreage Float
    compute='_compute_land_acreage' store=True tracking=True args: 'Own Plot Acreage'
  • plot_ids One2many → geospatial.plot
    copy=False args: 'geospatial.plot', 'partner_id', 'Area in use'
  • plot_uom_id Many2one → uom.uom
    domain=<expr> tracking=True args: 'uom.uom', 'Land Area Unit of Measure'
  • total_acreage Float
    compute='_compute_acreage' store=True args: 'Total Plot Acreage'
Public methods (2)
  • action_create_plot(self)
  • default_get(self, fields_list)