Extended Addresses

base_address_extended
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/base_address_extended
VERSION
VERSION 1.1
CATEGORY
CATEGORYSales/Sales
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSOdoo Translation Bot, Thibault Delavallée, Julien Castiaux, Tiffany Chang (tic), Gorash, Louis Wicket (wil), Dylan Kiss (dyki), Nguyễn Đại Dương, nihp-odoo, dijo-odoo, Krzysztof Magusiak (krma)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - contacts
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extended Addresses Management
=============================

This module provides the ability to choose a city from a list (in specific countries).

It is primarily used for EDIs that might need a special city code.
        

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
address_street_extended_city_form partner.form.address.extended.city_id res.partner field Inherits base.view_partner_form
address_street_extended_form partner.form.address.extended res.partner form New
view_city_filter res.city search New
view_city_tree res.city.list res.city list New
view_res_country_city_extended_form res.country xpath Inherits base.view_country_form
Models touched (3)

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

No public methods.

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 (5)
  • city_id Many2one → res.city
    comodel_name='res.city' string='City ID'
  • country_enforce_cities Boolean
    related='country_id.enforce_cities'
  • street_name Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Street Name'
  • street_number Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'House'
  • street_number2 Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Door'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/base_address_extended
VERSION
VERSION 1.1
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Odoo Online, Anh Thao Pham (pta), Tiffany Chang (tic), Gorash, Louis Wicket (wil), Dylan Kiss (dyki), Louis (wil)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - contacts
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extended Addresses Management
=============================

This module provides the ability to choose a city from a list (in specific countries).

It is primarily used for EDIs that might need a special city code.
        

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
address_street_extended_city_form partner.form.address.extended.city_id res.partner field Inherits base.view_partner_form
address_street_extended_form partner.form.address.extended res.partner form New
view_city_filter res.city search New
view_city_tree res.city.list res.city list New
view_res_country_city_extended_form res.country xpath Inherits base.view_country_form
Models touched (3)

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

No public methods.

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 (5)
  • city_id Many2one → res.city
    comodel_name='res.city' string='City ID'
  • country_enforce_cities Boolean
    related='country_id.enforce_cities'
  • street_name Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Street Name'
  • street_number Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'House'
  • street_number2 Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Door'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/17.0/base_address_extended
VERSION
VERSION 1.1
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Aaron Bohy, Victor Feyens, Anh Thao Pham (pta), Tiffany Chang (tic), Rémy Voet (ryv), Gorash, Pierre Paridans, Walid HANNICHE (waha), niyasraphy, Louis Wicket (wil), Dylan Kiss (dyki), Louis (wil)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:02:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - contacts
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extended Addresses Management
=============================

This module provides the ability to choose a city from a list (in specific countries).

It is primarily used for EDIs that might need a special city code.
        

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
address_street_extended_city_form partner.form.address.extended.city_id res.partner field Inherits base.view_partner_form
address_street_extended_form partner.form.address.extended res.partner form New
view_city_filter res.city search New
view_city_tree res.city.tree res.city tree New
view_res_country_city_extended_form res.country xpath Inherits base.view_country_form
Models touched (3)

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

No public methods.

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 (5)
  • city_id Many2one → res.city
    comodel_name='res.city' string='City ID'
  • country_enforce_cities Boolean
    related='country_id.enforce_cities'
  • street_name Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Street Name'
  • street_number Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'House'
  • street_number2 Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Door'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/16.0/base_address_extended
VERSION
VERSION 1.1
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Yannick Tivisse, Julien Castiaux, Anh Thao Pham (pta), Walid HANNICHE (waha), Habib (ayh)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extended Addresses Management
=============================

This module provides the ability to choose a city from a list (in specific countries).

It is primarily used for EDIs that might need a special city code.
        

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
address_street_extended_city_form partner.form.address.extended.city_id res.partner field Inherits base.view_partner_form
address_street_extended_form partner.form.address.extended res.partner form New
view_city_filter res.city search New
view_city_tree res.city.tree res.city tree New
view_res_country_city_extended_form res.country xpath Inherits base.view_country_form
Models touched (3)

New fields (4)
  • country_id Many2one → res.country
    comodel_name='res.country' required=True string='Country'
  • name Char
    required=True translate=True args: 'Name'
  • state_id Many2one → res.country.state
    comodel_name='res.country.state' domain="[('country_id', '=', country_id)]" string='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 (5)
  • city_id Many2one → res.city
    comodel_name='res.city' string='City ID'
  • country_enforce_cities Boolean
    related='country_id.enforce_cities'
  • street_name Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Street Name'
  • street_number Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'House'
  • street_number2 Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Door'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/15.0/base_address_extended
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Goffin Simon, Xavier-Do, alt-odoo, Nasreddin Boulif (bon), nounoubensebia, Thomas Lefebvre (thle)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:25:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extended Addresses Management
=============================

This module holds all extra fields one may need to manage accurately addresses.

For example, in legal reports, some countries need to split the street into several fields,
with the street name, the house number, and room number.
        

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_partner_address_structured_form view_partner_address_structured_form res.partner xpath Inherits base.view_partner_address_form
view_partner_structured_form view_partner_structured_form res.partner xpath Inherits base.view_partner_form
view_res_company_extended_form view_res_company_extended_form res.company xpath Inherits base.view_company_form
view_res_country_extended_form view_res_country_extended_form res.country xpath Inherits base.view_country_form
Models touched (3)

New fields (3)
  • street_name Char
    compute='_compute_address' inverse='_inverse_street_name' args: 'Street Name'
  • street_number Char
    compute='_compute_address' inverse='_inverse_street_number' args: 'House Number'
  • street_number2 Char
    compute='_compute_address' inverse='_inverse_street_number2' args: 'Door Number'
Public methods (0)

No public methods.

New fields (1)
  • street_format Text
    default='%(street_number)s/%(street_number2)s %(street_name)s' help="Format to use for streets belonging to this country.\n\nYou can use the python-style string pattern with all the fields of the street (for example, use '%(street_name)s, %(street_number)s' if you want to display the street name, followed by a comma and the house number)\n%(street_name)s: the name of the street\n%(street_number)s: the house number\n%(street_number2)s: the door number" required=True
Public methods (1)
  • onchange_street_format(self)
    @api.onchange('street_format')

New fields (3)
  • street_name Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Street Name'
  • street_number Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'House'
  • street_number2 Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Door'
Public methods (1)
  • write(self, vals)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/14.0/base_address_extended
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Olivier Dony, Thibault Delavallée, Christophe Simonis, Goffin Simon, Yannick Tivisse, Xavier-Do, alt-odoo, Nasreddin Boulif (bon), Thomas Lefebvre (thle)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:14:29
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extended Addresses Management
=============================

This module holds all extra fields one may need to manage accurately addresses.

For example, in legal reports, some countries need to split the street into several fields,
with the street name, the house number, and room number.
        

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_partner_address_structured_form view_partner_address_structured_form res.partner xpath Inherits base.view_partner_address_form
view_partner_structured_form view_partner_structured_form res.partner xpath Inherits base.view_partner_form
view_res_company_extended_form view_res_company_extended_form res.company xpath Inherits base.view_company_form
view_res_country_extended_form view_res_country_extended_form res.country xpath Inherits base.view_country_form
Models touched (3)

New fields (3)
  • street_name Char
    compute='_compute_address' inverse='_inverse_street_name' args: 'Street Name'
  • street_number Char
    compute='_compute_address' inverse='_inverse_street_number' args: 'House Number'
  • street_number2 Char
    compute='_compute_address' inverse='_inverse_street_number2' args: 'Door Number'
Public methods (0)

No public methods.

New fields (1)
  • street_format Text
    default='%(street_number)s/%(street_number2)s %(street_name)s' help="Format to use for streets belonging to this country.\n\nYou can use the python-style string pattern with all the fields of the street (for example, use '%(street_name)s, %(street_number)s' if you want to display the street name, followed by a comma and the house number)\n%(street_name)s: the name of the street\n%(street_number)s: the house number\n%(street_number2)s: the door number" required=True
Public methods (1)
  • onchange_street_format(self)
    @api.onchange('street_format')

New fields (3)
  • street_name Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Street Name'
  • street_number Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'House'
  • street_number2 Char
    compute='_compute_street_data' inverse='_inverse_street_data' store=True args: 'Door'
Public methods (1)
  • write(self, vals)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/13.0/base_address_extended
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Thibault Delavallée, Denis Ledoux, Christophe Simonis, Goffin Simon, Damien Bouvy, Adrian Torres, Xavier-Do, Nasreddin Boulif (bon), Jigar Vaghela, Aurelien van Delft (avd)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:06:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extended Addresses Management
=============================

This module holds all extra fields one may need to manage accurately addresses.

For example, in legal reports, some countries need to split the street into several fields,
with the street name, the house number, and room number.
        

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_partner_address_structured_form view_partner_address_structured_form res.partner xpath Inherits base.view_partner_address_form
view_partner_structured_form view_partner_structured_form res.partner xpath Inherits base.view_partner_form
view_res_company_extended_form view_res_company_extended_form res.company xpath Inherits base.view_company_form
view_res_country_extended_form view_res_country_extended_form res.country xpath Inherits base.view_country_form
Models touched (3)

New fields (3)
  • street_name Char
    compute='_compute_address' inverse='_inverse_street_name' args: 'Street Name'
  • street_number Char
    compute='_compute_address' inverse='_inverse_street_number' args: 'House Number'
  • street_number2 Char
    compute='_compute_address' inverse='_inverse_street_number2' args: 'Door Number'
Public methods (0)

No public methods.

New fields (1)
  • street_format Text
    default='%(street_number)s/%(street_number2)s %(street_name)s' help="Format to use for streets belonging to this country.\n\nYou can use the python-style string pattern with all the fields of the street (for example, use '%(street_name)s, %(street_number)s' if you want to display the street name, followed by a comma and the house number)\n%(street_name)s: the name of the street\n%(street_number)s: the house number\n%(street_number2)s: the door number" required=True
Public methods (0)

No public methods.

New fields (3)
  • street_name Char
    compute='_split_street' inverse='_set_street' store=True args: 'Street Name'
  • street_number Char
    compute='_split_street' help='House Number' inverse='_set_street' store=True args: 'House'
  • street_number2 Char
    compute='_split_street' help='Door Number' inverse='_set_street' store=True args: 'Door'
Public methods (2)
  • get_street_fields(self)
    Returns the fields that can be used in a street format. Overwrite this function if you want to add your own fields.
  • write(self, vals)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/12.0/base_address_extended
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYBase
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Christophe Simonis, Xavier Morel, Nicolas Lempereur, Xavier-Do, Nasreddin Boulif (bon)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:57:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extended Addresses Management
=============================

This module holds all extra fields one may need to manage accurately addresses.

For example, in legal reports, some countries need to split the street into several fields,
with the street name, the house number, and room number.
        

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_partner_address_structured_form view_partner_address_structured_form res.partner xpath Inherits base.view_partner_address_form
view_partner_structured_form view_partner_structured_form res.partner xpath Inherits base.view_partner_form
view_res_company_extended_form view_res_company_extended_form res.company xpath Inherits base.view_company_form
view_res_country_extended_form view_res_country_extended_form res.country xpath Inherits base.view_country_form
Models touched (3)

New fields (3)
  • street_name Char
    compute='_compute_address' inverse='_inverse_street_name' args: 'Street Name'
  • street_number Char
    compute='_compute_address' inverse='_inverse_street_number' args: 'House Number'
  • street_number2 Char
    compute='_compute_address' inverse='_inverse_street_number2' args: 'Door Number'
Public methods (0)

No public methods.

New fields (1)
  • street_format Text
    default='%(street_number)s/%(street_number2)s %(street_name)s' help="Format to use for streets belonging to this country.\n\nYou can use the python-style string pattern with all the fields of the street (for example, use '%(street_name)s, %(street_number)s' if you want to display the street name, followed by a comma and the house number)\n%(street_name)s: the name of the street\n%(street_number)s: the house number\n%(street_number2)s: the door number" required=True
Public methods (0)

No public methods.

New fields (3)
  • street_name Char
    compute='_split_street' inverse='_set_street' store=True args: 'Street Name'
  • street_number Char
    compute='_split_street' help='House Number' inverse='_set_street' store=True args: 'House'
  • street_number2 Char
    compute='_split_street' help='Door Number' inverse='_set_street' store=True args: 'Door'
Public methods (2)
  • get_street_fields(self)
    Returns the fields that can be used in a street format. Overwrite this function if you want to add your own fields.
  • write(self, vals)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/11.0/base_address_extended
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYBase
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Olivier Dony, Christophe Simonis, Goffin Simon, Nicolas Martinelli, qdp-odoo, GitHub, Odoo Online, Julien (juc) Castiaux, Jorge Pinna Puissant
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:53:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Extended Addresses Management
=============================

This module holds all extra fields one may need to manage accurately addresses.

For example, in legal reports, some countries need to split the street into several fields,
with the street name, the house number, and room number.
        

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_partner_address_structured_form view_partner_address_structured_form res.partner xpath Inherits base.view_partner_address_form
view_partner_structured_form view_partner_structured_form res.partner xpath Inherits base.view_partner_form
view_res_company_extended_form view_res_company_extended_form res.company xpath Inherits base.view_company_form
view_res_country_extended_form view_res_country_extended_form res.country xpath Inherits base.view_country_form
Models touched (3)

New fields (3)
  • street_name Char
    compute='_compute_address' inverse='_inverse_street_name' args: 'Street Name'
  • street_number Char
    compute='_compute_address' inverse='_inverse_street_number' args: 'House Number'
  • street_number2 Char
    compute='_compute_address' inverse='_inverse_street_number2' args: 'Door Number'
Public methods (0)

No public methods.

New fields (1)
  • street_format Text
    default='%(street_number)s/%(street_number2)s %(street_name)s' help="Format to use for streets belonging to this country.\n\nYou can use the python-style string pattern with all the fields of the street (for example, use '%(street_name)s, %(street_number)s' if you want to display the street name, followed by a comma and the house number)\n%(street_name)s: the name of the street\n%(street_number)s: the house number\n%(street_number2)s: the door number" required=True
Public methods (0)

No public methods.

New fields (3)
  • street_name Char
    compute='_split_street' inverse='_set_street' store=True args: 'Street Name'
  • street_number Char
    compute='_split_street' inverse='_set_street' store=True args: 'House Number'
  • street_number2 Char
    compute='_split_street' inverse='_set_street' store=True args: 'Door Number'
Public methods (2)
  • get_street_fields(self)
    Returns the fields that can be used in a street format. Overwrite this function if you want to add your own fields.
  • write(self, vals)