Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 41 months ago
  • Required by25/25
    10 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 11.0

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

Security findings
Grave / minor (static analysis)
Required by
10
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.35 MB
Module directory on disk
Code analysis 2 migration notes 3 models 3 views 0 HTTP endpoints

Description

City Management in Addresses

This module allows to enforce users to choose the city of a partner inside a given list instead of a free text field.

Dependencies

Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
base_location, hr_holidays_public_city, l10n_br_base, l10n_cl, l10n_cn_city, l10n_co, l10n_ec_ote, l10n_pe, l10n_ro_city, l10n_tw

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
view_city_filter res.city search New
view_city_tree res.city tree New
view_res_country_city_extended_form res.country form Inherits base.view_country_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (4)
  • country_id Many2one → res.country
    required=True string='Country' args: 'res.country'
  • name Char
    required=True translate=True args: 'Name'
  • state_id Many2one → res.country.state
    domain="[('country_id', '=', country_id)]" args: 'res.country.state', 'State'
  • zipcode Char
    args: 'Zip'
Public methods (1)
  • name_get(self)

New fields (1)
  • enforce_cities Boolean
    help="Check this box to ensure every address created in that country has a 'City' chosen in the list of the country's cities." string='Enforce Cities'
Public methods (0)

No public methods.

New fields (2)
  • city_id Many2one → res.city
    string='City of Address' args: 'res.city'
  • country_enforce_cities Boolean
    readonly=True related='country_id.enforce_cities'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…