Partner Contact address default

partner_contact_address_default
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/19.0/partner_contact_address_default
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYGeneric Modules/Base
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSRuchir Shukla, Weblate, OCA-git-bot, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of base partner module to allow to
set a default delivery and invoice address and a default contact for
contacts.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit res.config.settings xpath Inherits base_setup.res_config_settings_view_form
view_partner_form res.partner xpath Inherits base.view_partner_form
Models touched (3)

New fields (1)
  • contact_address_default_allow_all_partners Boolean
Public methods (0)

No public methods.

New fields (1)
  • contact_address_default_allow_all_partners Boolean
    readonly=False related='company_id.contact_address_default_allow_all_partners'
Public methods (0)

No public methods.

New fields (6)
  • partner_contact_domain Binary
    compute='_compute_partner_domains'
  • partner_contact_id Many2one → res.partner
    comodel_name='res.partner' string='Default contact'
  • partner_delivery_domain Binary
    compute='_compute_partner_domains'
  • partner_delivery_id Many2one → res.partner
    comodel_name='res.partner' string='Shipping address'
  • partner_invoice_domain Binary
    compute='_compute_partner_domains'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' string='Invoice address'
Public methods (3)
  • address_get(self, adr_pref=None)
    Force the contact, delivery or invoice addresses. It will try to default to the one set in the commercial partner if any
  • get_address_default_type(self)
    This will be the extension method for other contact types
  • write(self, vals)
    We want to prevent archived contacts as default addresses
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/18.0/partner_contact_address_default
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYGeneric Modules/Base
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Borruso, Aungkokolin1997, cristina-hidalgo-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of base partner module to allow to
set a default delivery and invoice address and a default contact for
contacts.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit res.config.settings xpath Inherits base_setup.res_config_settings_view_form
view_partner_form res.partner xpath Inherits base.view_partner_form
Models touched (3)

New fields (1)
  • contact_address_default_allow_all_partners Boolean
Public methods (0)

No public methods.

New fields (1)
  • contact_address_default_allow_all_partners Boolean
    readonly=False related='company_id.contact_address_default_allow_all_partners'
Public methods (0)

No public methods.

New fields (6)
  • partner_contact_domain Binary
    compute='_compute_partner_domains'
  • partner_contact_id Many2one → res.partner
    comodel_name='res.partner' string='Default contact'
  • partner_delivery_domain Binary
    compute='_compute_partner_domains'
  • partner_delivery_id Many2one → res.partner
    comodel_name='res.partner' string='Shipping address'
  • partner_invoice_domain Binary
    compute='_compute_partner_domains'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' string='Invoice address'
Public methods (3)
  • address_get(self, adr_pref=None)
    Force the contact, delivery or invoice addresses. It will try to default to the one set in the commercial partner if any
  • get_address_default_type(self)
    This will be the extension method for other contact types
  • write(self, vals)
    We want to prevent archived contacts as default addresses
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/17.0/partner_contact_address_default
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYGeneric Modules/Base
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aungkokolin1997, juancarlosonate-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of base partner module to allow to
set a default delivery and invoice address and a default contact for
contacts.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit res.config.settings xpath Inherits base_setup.res_config_settings_view_form
view_partner_form res.partner xpath Inherits base.view_partner_form
Models touched (3)

New fields (2)
  • contact_address_default_allow_all_partners Boolean
  • contact_shipping_address_delivery_partner_only Boolean
Public methods (0)

No public methods.

New fields (2)
  • contact_address_default_allow_all_partners Boolean
    readonly=False related='company_id.contact_address_default_allow_all_partners'
  • contact_shipping_address_delivery_partner_only Boolean
    readonly=False related='company_id.contact_shipping_address_delivery_partner_only'
Public methods (0)

No public methods.

New fields (6)
  • partner_contact_domain Binary
    compute='_compute_partner_domains'
  • partner_contact_id Many2one → res.partner
    comodel_name='res.partner' string='Default contact'
  • partner_delivery_domain Binary
    compute='_compute_partner_domains'
  • partner_delivery_id Many2one → res.partner
    comodel_name='res.partner' string='Shipping address'
  • partner_invoice_domain Binary
    compute='_compute_partner_domains'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' string='Invoice address'
Public methods (3)
  • address_get(self, adr_pref=None)
    Force the contact, delivery or invoice addresses. It will try to default to the one set in the commercial partner if any
  • get_address_default_type(self)
    This will be the extension method for other contact types
  • write(self, vals)
    We want to prevent archived contacts as default addresses
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/16.0/partner_contact_address_default
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYGeneric Modules/Base
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSGraeme Gellatly, Weblate, OCA-git-bot, oca-ci, Aungkokolin1997, LauraCForgeFlow, Reyes4711
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit res.config.settings xpath Inherits base_setup.res_config_settings_view_form
view_partner_form res.partner xpath Inherits base.view_partner_form
Models touched (3)

New fields (1)
  • contact_address_default_allow_all_partners Boolean
Public methods (0)

No public methods.

New fields (1)
  • contact_address_default_allow_all_partners Boolean
    readonly=False related='company_id.contact_address_default_allow_all_partners'
Public methods (0)

No public methods.

New fields (6)
  • partner_contact_domain Binary
    compute='_compute_partner_domains'
  • partner_contact_id Many2one → res.partner
    comodel_name='res.partner' string='Default contact'
  • partner_delivery_domain Binary
    compute='_compute_partner_domains'
  • partner_delivery_id Many2one → res.partner
    comodel_name='res.partner' string='Shipping address'
  • partner_invoice_domain Binary
    compute='_compute_partner_domains'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' string='Invoice address'
Public methods (3)
  • address_get(self, adr_pref=None)
    Force the contact, delivery or invoice addresses. It will try to default to the one set in the commercial partner if any
  • get_address_default_type(self)
    This will be the extension method for other contact types
  • write(self, vals)
    We want to prevent archived contacts as default addresses
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/15.0/partner_contact_address_default
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Base
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, dhx
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:32
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form res.partner xpath Inherits base.view_partner_form
Models touched (1)

New fields (2)
  • partner_delivery_id Many2one → res.partner
    comodel_name='res.partner' string='Shipping address'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' string='Invoice address'
Public methods (3)
  • address_get(self, adr_pref=None)
    Force the delivery or invoice addresses. It will try to default to the one set in the commercial partner if any
  • get_address_default_type(self)
    This will be the extension method for other contact types
  • write(self, vals)
    We want to prevent archived contacts as default addresses
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/14.0/partner_contact_address_default
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYGeneric Modules/Base
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, CarlosRoca13, Zar21
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form res.partner xpath Inherits base.view_partner_form
Models touched (1)

New fields (2)
  • partner_delivery_id Many2one → res.partner
    comodel_name='res.partner' string='Shipping address'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' string='Invoice address'
Public methods (3)
  • address_get(self, adr_pref=None)
    Force the delivery or invoice addresses. It will try to default to the one set in the commercial partner if any
  • get_address_default_type(self)
    This will be the extension method for other contact types
  • write(self, vals)
    We want to prevent archived contacts as default addresses
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/13.0/partner_contact_address_default
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYGeneric Modules/Base
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, david, manu, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form res.partner xpath Inherits base.view_partner_form
Models touched (1)

New fields (2)
  • partner_delivery_id Many2one → res.partner
    comodel_name='res.partner' string='Shipping address'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' string='Invoice address'
Public methods (3)
  • address_get(self, adr_pref=None)
    Force the delivery or invoice addresses. It will try to default to the one set in the commercial partner if any
  • get_address_default_type(self)
    This will be the extension method for other contact types
  • write(self, vals)
    We want to prevent archived contacts as default addresses
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/12.0/partner_contact_address_default
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYGeneric Modules/Base
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSdavid, OCA Transbot, Sergio Teruel, oca-travis, Weblate, OCA-git-bot, Giovanni, Ioan Galan, Antonio González, stephan.keller
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_general_configuration Add partner_contact_address_default config parameter res.config.settings xpath Inherits base_setup.res_config_settings_view_form
view_partner_form res.partner xpath Inherits base.view_partner_form
view_partner_form_allow_all_partner_as_default Partner Contact Address Default - Allow all partners as default res.partner field Inherits partner_contact_address_default.view_partner_form
Models touched (2)

New fields (1)
  • group_address_default_allow_all_partner Boolean
    default=False help='Allow selecting from all partners as address default' implied_group='partner_contact_address_default.group_allow_all_partner' args: 'Allow selecting from all partners as address default'
Public methods (0)

No public methods.

New fields (2)
  • partner_delivery_id Many2one → res.partner
    comodel_name='res.partner' string='Shipping address'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' string='Invoice address'
Public methods (3)
  • address_get(self, adr_pref=None)
    Force the delivery or invoice addresses. It will try to default to the one set in the commercial partner if any
  • get_address_default_type(self)
    This will be the extension method for other contact types
  • write(self, vals)
    We want to prevent archived contacts as default addresses