Partner Property

partner_property
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_property
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYPartner Management
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, Iván Todorovich, oca-ci, eduardo, 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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds the use of properties in partners (different for
companies and individuals).

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_partner_kanban_view res.partner.kanban res.partner xpath Inherits base.res_partner_kanban_view
view_partner_form res.partner.form res.partner notebook Inherits base.view_partner_form
Models touched (2)

New fields (2)
  • partner_properties_definition_company PropertiesDefinition
    compute='_compute_partner_properties_definition_company' inverse='_inverse_partner_properties_definition_company' search='_search_partner_properties_definition_company' string='Partner Properties (company)'
  • partner_properties_definition_person PropertiesDefinition
    compute='_compute_partner_properties_definition_person' inverse='_inverse_partner_properties_definition_person' search='_search_partner_properties_definition_person' string='Partner Properties (person)'
Public methods (1)
  • web_search_read(self, domain, specification, offset=0, limit=None, order=None, count_limit=None)
    @api.model
    Override the method to return the "appropriate" company if searched by any of the fields. This method is used to display the search fields (Add custom filter), the properties in the partners are multi-company, and the domain [("partner_properties_definition_company", "!=', False)] would return all the companies, in that case the data of the last company would be displayed, which would be totally confusing. Example: Existing companies: Company A + Company B + Company C Selected company: Company A Now it will show: Property custom (Company A).

New fields (3)
  • properties_company_id Many2one → res.company
    comodel_name='res.company' compute='_compute_properties_company_id' search='_search_properties_company_id'
  • properties_type_company Properties
    copy=True definition='properties_company_id.partner_properties_definition_company'
  • properties_type_person Properties
    copy=True definition='properties_company_id.partner_properties_definition_person'
Public methods (0)

No public methods.

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_property
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYPartner Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSCarlos Lopez, Víctor Martínez, OCA-git-bot, oca-ci, pilarvargas-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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds the use of properties in partners (different for
companies and individuals).

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_partner_kanban_view res.partner.kanban res.partner xpath Inherits base.res_partner_kanban_view
view_partner_form res.partner.form res.partner notebook Inherits base.view_partner_form
Models touched (2)

New fields (2)
  • partner_properties_definition_company PropertiesDefinition
    compute='_compute_partner_properties_definition_company' inverse='_inverse_partner_properties_definition_company' string='Partner Properties (company)'
  • partner_properties_definition_person PropertiesDefinition
    compute='_compute_partner_properties_definition_person' inverse='_inverse_partner_properties_definition_person' string='Partner Properties (person)'
Public methods (1)
  • web_search_read(self, domain, specification, offset=0, limit=None, order=None, count_limit=None)
    @api.model
    Override the method to return the "appropriate" company if searched by any of the fields. This method is used to display the search fields (Add custom filter), the properties in the partners are multi-company, and the domain [("partner_properties_definition_company", "!=', False)] would return all the companies, in that case the data of the last company would be displayed, which would be totally confusing. Example: Existing companies: Company A + Company B + Company C Selected company: Company A Now it will show: Property custom (Company A).

New fields (3)
  • properties_company_id Many2one → res.company
    comodel_name='res.company' compute='_compute_properties_company_id'
  • properties_type_company Properties
    copy=True definition='properties_company_id.partner_properties_definition_company'
  • properties_type_person Properties
    copy=True definition='properties_company_id.partner_properties_definition_person'
Public methods (0)

No public methods.

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_property
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYPartner Management
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, Víctor Martínez, Weblate, OCA-git-bot, oca-ci
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
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.form res.partner notebook Inherits base.view_partner_form
Models touched (2)

New fields (2)
  • partner_properties_definition_company PropertiesDefinition
    compute='_compute_partner_properties_definition_company' inverse='_inverse_partner_properties_definition_company' string='Partner Properties (company)'
  • partner_properties_definition_person PropertiesDefinition
    compute='_compute_partner_properties_definition_person' inverse='_inverse_partner_properties_definition_person' string='Partner Properties (person)'
Public methods (0)

No public methods.

New fields (3)
  • properties_company_id Many2one → res.company
    comodel_name='res.company' compute='_compute_properties_company_id'
  • properties_type_company Properties
    copy=True definition='properties_company_id.partner_properties_definition_company'
  • properties_type_person Properties
    copy=True definition='properties_company_id.partner_properties_definition_person'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/partner-contact
PULL REQUEST
PULL REQUEST[19.0][MIG] partner_property: Migration to 19.0 (#2358)