Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 13 Odoo series since 7.0

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

Security findings
Grave / minor (static analysis)
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 IDNameModelTypeStatus
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)
  • code Char
  • zip_ids One2many → res.city.zip
    string='Zips in this city' args: 'res.city.zip', 'city_id'
Public methods (0)

No public methods.

New fields (4)
  • city_id Many2one → res.city
    bypass_search_access=True index=True ondelete='cascade' required=True args: 'res.city'
  • country_id Many2one
    related='city_id.country_id'
  • name Char
    required=True args: 'ZIP'
  • state_id Many2one
    related='city_id.state_id'
Public methods (0)

No public methods.

New fields (3)
  • city_id Many2one → res.city
    compute='_compute_address' inverse='_inverse_city_id' string='City ID' args: 'res.city'
  • country_enforce_cities Boolean
    related='partner_id.country_id.enforce_cities'
  • zip_id Many2one → res.city.zip
    compute='_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'
Public methods (0)

No public methods.

New fields (6)
  • city Char
    compute='_compute_city' readonly=False store=True
  • city_id Many2one
    compute='_compute_city_id' index=True readonly=False store=True
  • country_id Many2one
    compute='_compute_country_id' readonly=False store=True
  • state_id Many2one
    compute='_compute_state_id' readonly=False store=True
  • zip Char
    compute='_compute_zip' readonly=False store=True
  • zip_id Many2one → res.city.zip
    comodel_name='res.city.zip' compute='_compute_zip_id' index=True readonly=False store=True string='ZIP Location'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…