TIP: You can type at any time to perform a new search.
Location management (aka Better ZIP)
base_location · OCA/partner-contact
- Repository
- OCA/partner-contact · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Uncategorized
- Folder size
- 0.64 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/partner-contact
- Last tracking update
- 2026-08-07 09:06:26
- Authors
- Camptocamp, Odoo Community Association (OCA), Tecnativa, Alejandro Santana, ACYSOS S.L., AdaptiveCity
- Maintainers
- Camptocamp, Odoo Community Association (OCA), Tecnativa, Alejandro Santana, ACYSOS S.L., AdaptiveCity
- Committers
- Saran440, Weblate, Ruchir Shukla, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- base_location_geonames_import, crm_location
- 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.
Code Analysis ⓘ
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 (1)
-
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', '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…