Partner multi-company

partner_multi_company
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/18.0/partner_multi_company
VERSION
VERSION 1.0.2
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, Simone Rubino, oca-ci, christian-ramos-tecnativa, Arnau
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - base_multi_company
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This modules allows to select in which of the companies you want to use
each of the partners. These companies will also be assigned to the partner
bank accounts.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner xpath Inherits base.view_partner_form
view_partner_bank_form res.partner.bank.form res.partner.bank xpath Inherits base.view_partner_bank_form
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (1)
  • company_ids Many2many
    related='partner_id.company_ids' string='Companies'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/17.0/partner_multi_company
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, Raf Ven, Simone Rubino, oca-ci, pilarvargas-tecnativa, christian-ramos-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - base_multi_company
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This modules allows to select in which of the companies you want to use
each of the partners. These companies will also be assigned to the partner
bank accounts.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner xpath Inherits base.view_partner_form
view_partner_bank_form res.partner.bank.form res.partner.bank xpath Inherits base.view_partner_bank_form
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (1)
  • company_ids Many2many
    related='partner_id.company_ids' string='Companies'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/16.0/partner_multi_company
VERSION
VERSION 2.0.2
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, Jairo Llopis, Weblate, OCA-git-bot, Simone Rubino, oca-ci, Karthik, Sodexis, ArnauCForgeFlow, prabakaran, Bastian Guenther
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - base_multi_company
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner xpath Inherits base.view_partner_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (1)
  • display_name Char
    compute='_compute_display_name' index=True store=True
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/15.0/partner_multi_company
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
COMMITTERSWeblate, OCA-git-bot, oca-ci, Jasmin Solanki, ArnauCForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:30
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - base_multi_company
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner xpath Inherits base.view_partner_form
Models touched (2)

New fields (1)
  • display_name Char
    compute='_compute_display_name' index=True store=True
Public methods (1)
  • create(self, vals)
    @api.model
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/14.0/partner_multi_company
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
COMMITTERSWeblate, OCA-git-bot, oca-ci, Ilyas, PicchiSeba, Lorenzo Allegrucci
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:51
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - base_multi_company
odoo/odoo:
    - base_setup
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES odoo-test-helper
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form account settings res.config.settings div Inherits base.res_config_settings_view_form
res_partner_view_form Partner template form view (with multi-company) res.partner xpath Inherits base.view_partner_form
Models touched (4)

New fields (1)
  • set_active_company_partner Boolean
    default=False args: 'Set Active Company Partner'
Public methods (0)

No public methods.

New fields (1)
  • set_active_company_partner Boolean
    readonly=False related='company_id.set_active_company_partner' string='Set Active Company Partner'
Public methods (0)

No public methods.

New fields (2)
  • company_ids Many2many
    default=<expr>
  • display_name Char
    compute='_compute_display_name' index=True store=True
Public methods (1)
  • create(self, vals)
    @api.model
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/13.0/partner_multi_company
VERSION
VERSION 1.0.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, OCA Transbot, Ernesto Tejeda, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - base_multi_company
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner xpath Inherits base.view_partner_form
Models touched (2)

New fields (1)
  • display_name Char
    compute='_compute_display_name' index=True store=True
Public methods (1)
  • create(self, vals)
    @api.model
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/12.0/partner_multi_company
VERSION
VERSION 2.0.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
COMMITTERSSylvain LE GAL, mreficent, david, OCA Transbot, oca-travis, OCA-git-bot, Kitti U
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - base_multi_company
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner field Inherits base.view_partner_form
Models touched (2)

New fields (2)
  • company_ids Many2many
    column1='partner_id' column2='res_company_assignment_id' relation='partner_res_company_assignment_rel'
  • display_name Char
    compute='_compute_display_name' index=True store=True
Public methods (1)
  • create(self, vals)
    @api.model
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/11.0/partner_multi_company
VERSION
VERSION 1.0.2
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, mreficent, Lois Rilo, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - base_multi_company
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner field Inherits base.view_partner_form
Models touched (2)

New fields (1)
  • display_name Char
    compute='_compute_display_name' index=True store=True
Public methods (1)
  • create(self, vals)
    @api.model
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/10.0/partner_multi_company
VERSION
VERSION 1.0.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, GitHub, OCA Transbot, Dave Lasley, oca-travis
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - base_multi_company
OCA/server-tools:
    - base_suspend_security
odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner field Inherits base.view_partner_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/9.0/partner_multi_company
VERSION
VERSION 1.0.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
COMMITTERSStefan Rijnhart, Pedro M. Baeza, OCA Transbot, Dave Lasley, oca-travis
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_suspend_security
odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner field Inherits base.view_partner_form
Models touched (2)

New fields (2)
  • company_id Many2one → res.company
    comodel_name='res.company' compute='_compute_company_id' inverse='_inverse_company_id' store=True
  • company_ids Many2many → res.company
    comodel_name='res.company' default=_default_company_ids string='Companies'
Public methods (1)
  • create(self, vals)
    @api.model
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/8.0/partner_multi_company
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPartner Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, OCA Transbot, Dave Lasley, oca-travis, oihane
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_suspend_security
odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_partner_view_form Partner template form view (with multi-company) res.partner field Inherits base.view_partner_form
Models touched (2)

New fields (2)
  • company_id Many2one → res.company
    comodel_name='res.company' compute='_compute_company_id' inverse='_inverse_company_id' store=True
  • company_ids Many2many → res.company
    comodel_name='res.company' default=_default_company_ids string='Companies'
Public methods (1)
  • create(self, vals)
    @api.model
    Neutralize the default value applied to company_id that can't be removed in the inheritance, and that will activate the inverse method, overwriting our company_ids field desired value.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi