Health
75/100
good
-
Security25/25No findings
-
Activity0/25Last human commit 41 months ago
-
Required by25/2510 modules depend on it
-
Maturity25/25In 5 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
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
Migration considerations
City— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourceview_city_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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:- base
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → res.countryrequired=Truestring='Country' args: 'res.country' -
nameCharrequired=Truetranslate=True args: 'Name' -
state_idMany2one → res.country.statedomain="[('country_id', '=', country_id)]" args: 'res.country.state', 'State' -
zipcodeCharargs: 'Zip'
-
name_get(self)
New fields (1)
-
enforce_citiesBooleanhelp="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'
No public methods.
New fields (2)
-
city_idMany2one → res.citystring='City of Address' args: 'res.city' -
country_enforce_citiesBooleanreadonly=Truerelated='country_id.enforce_cities'
No public methods.
Loading…
Loading…
Loading…
Loading…