OdooWiki OCA HUB

Partner multi-company

partner_multi_company folder_open OCA/multi-company open_in_new
Partner Management License: AGPL-3

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.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you choose, partner by partner, which companies can see and use that contact, instead of tying each contact to a single company. Bank accounts follow the same visibility as their partner.

This module replaces the single-company setting on contacts with a list of companies. On the contact form, in the Sales & Purchase tab, the old company field is hidden and a new "Companies" tag field appears (only for users allowed to work with several companies). You can pick several companies for one contact, or leave it empty so every company can use it.

  • Contacts that belong to a parent company cannot change their own company list; they inherit it from the parent.
  • When a user is created or their allowed companies change, those companies are automatically added to that user's contact, so the user always sees their own contact.
  • A check blocks saving a contact if it is linked to a user and does not include all the companies that user is allowed to work in.
  • When a new company is created, it is added to the contacts of its users.
  • Bank accounts no longer show their own company field; they automatically take the companies of their contact, and a bank account can be used by a company that is a parent of one of those companies.

Access rules are adjusted at installation so contacts and bank accounts are visible when they are shared with the current company or have no company restriction. Existing contacts keep their original company, and users' contacts are completed with any missing companies. Uninstalling restores the standard rules.

Required by other modules

Models and fields (4)
  • res.users · extends an existing model
  • res.company · extends an existing model
  • res.partner · new model
  • res.partner.bank · extends an existing modelcompany_ids (Companies)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/multi-company.

terminal Installation and usage

OCA documentation · Odoo 19.0

This module uses the post and uninstall hooks for updating default partner template security rule. This only means that updating the module will not restore the security rule this module changes. Only a complete removal and reinstallation will serve.

On the partner form view, go to the "Sales & Purchases" tab, and put the companies in which you want to use that partner. If none is selected, the partner will be visible in all of them. The default value is the current one.

No verified information in OCA: Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.