Location management (aka Better ZIP)
base_location · OCA/partner-contact
Health
95/100
good
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by20/252 modules depend on it
-
Maturity25/25In 13 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
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.65 MB
Module directory on disk
Code analysis
0 migration notes
4 models
9 views
0 HTTP endpoints
Description
This module introduces a zip model that allows you to manage locations in a better way.
The zips will allow the users to complete automatically all address-related fields by just filling the zip.
Also allows different search filters.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- base_location_geonames_import, crm_location
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
city_zip_form |
res.city.zip.form | res.city.zip | form | New |
city_zip_tree |
res.city.zip.tree | res.city.zip | list | New |
view_city_form |
res.city | form | New | |
view_city_tree_inherit |
res.city | list | Inherits base_address_extended.view_city_tree | |
view_city_zip_filter |
res.city.zip.select | res.city.zip | search | New |
view_company_form_city |
res.company.form.city | res.company | form | Inherits base.view_company_form |
view_country_search |
res.country.search | res.country | search | New |
view_partner_form |
res.partner.zip_id.2 | res.partner | form | Inherits base.view_partner_form |
view_res_country_city_better_zip_form |
res.country | form | Inherits base.view_country_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (2)
-
codeChar -
zip_idsOne2many → res.city.zipstring='Zips in this city' args: 'res.city.zip', 'city_id'
No public methods.
New fields (4)
-
city_idMany2one → res.citybypass_search_access=Trueindex=Trueondelete='cascade'required=True args: 'res.city' -
country_idMany2onerelated='city_id.country_id' -
nameCharrequired=True args: 'ZIP' -
state_idMany2onerelated='city_id.state_id'
No public methods.
New fields (3)
-
city_idMany2one → res.citycompute='_compute_address'inverse='_inverse_city_id'string='City ID' args: 'res.city' -
country_enforce_citiesBooleanrelated='partner_id.country_id.enforce_cities' -
zip_idMany2one → res.city.zipcompute='_compute_address'help='Use the city name or the zip code to search the location'inverse='_inverse_zip_id'string='ZIP Location' args: 'res.city.zip'
No public methods.
New fields (6)
-
cityCharcompute='_compute_city'readonly=Falsestore=True -
city_idMany2onecompute='_compute_city_id'index=Truereadonly=Falsestore=True -
country_idMany2onecompute='_compute_country_id'readonly=Falsestore=True -
state_idMany2onecompute='_compute_state_id'readonly=Falsestore=True -
zipCharcompute='_compute_zip'readonly=Falsestore=True -
zip_idMany2one → res.city.zipcomodel_name='res.city.zip'compute='_compute_zip_id'index=Truereadonly=Falsestore=Truestring='ZIP Location'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…