| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 19 |
| Technical Name |
mjb_contact_multicompany |
| License | OPL-1 |
| Website | https://www.majorbird.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 19 |
| Technical Name |
mjb_contact_multicompany |
| License | OPL-1 |
| Website | https://www.majorbird.com |
Share Contacts Across Companies
Makes res.partner records globally visible across all companies
in a multi-company Odoo setup â one contact record, accessible everywhere,
no duplicates.
â ï¸ The Problem
by Majorbird — Odoo Silver Partner
In a standard Odoo multi-company environment, contacts
(res.partner) are siloed by company. A supplier that works
with three of your companies must be created three times â once per
company. This causes duplicate records, inconsistent data, conflicting
updates, and wasted time maintaining the same contact in multiple places.
This module overrides the default ir.rule to lift the
company restriction on partners, making every contact visible across all
companies without duplicating a single record.
What the Module Does
| Feature | Description |
|---|---|
| Global contact visibility |
Overrides the res.partner multi-company
ir.rule so that all partner records are readable
by all companies in the environment.
|
| No duplicate records | One partner = one record. A supplier used by three companies has a single record with a single address, phone, and email. |
| Minimal footprint | Approximately 38 lines of code. No new models, no new fields, no database migrations â purely a record-rule override. |
| Instant effect | Install and all existing partner records become visible across all companies immediately â no data migration needed. |
| Consistent data | Updates to a contact (address change, new phone number) are reflected everywhere instantly â no cross-company sync needed. |
Key Features
One Record, Everywhere
A single partner record is visible and usable in all companies. Create it once, use it on purchase orders, sales orders, and invoices across every company in your environment.
No More Duplicate Contacts
Eliminates the root cause of duplicate partner records in multi-company setups. One source of truth per supplier, customer, or contact.
Instant Activation
No configuration, no migration, no wizard. Install the module and all existing contacts become globally visible across companies immediately.
Always In Sync
When contact data changes â new address, updated phone â all companies see the update instantly. No synchronization process needed.
Minimal Code Footprint
Only ~38 lines of code. A targeted record-rule override â no new database tables, no model changes, no risk of breaking existing customizations.
Multi-Company Ready
Designed specifically for multi-company Odoo deployments. Works with any number of companies in the same database instance.
Getting Started
Ensure multi-company mode is active
Go to Settings â Companies and confirm you have two or more companies configured. This module is only relevant in multi-company environments.
Install the module
Go to Apps, search for Share Contacts Across Companies, and install. The record rule override activates immediately on install.
Switch companies â contacts are shared
Switch to another company in the top-right company selector. Open Contacts â all partner records from all companies are now visible and selectable.
Scope & Limitations
This module does NOT:
- Share other models across companies â only
res.partneris affected - Merge existing duplicate partner records â deduplication must be done manually or with a separate tool
- Restrict write access per company â any user from any company can edit a shared contact
- Apply to contacts that are also company users (
res.users) â user-linked partners follow standard access rules - Work in single-company environments â there is no effect if only one company exists
Version 19.0.1.0.0 â First Stable Release
This is the first stable release of the Share Contacts Across Companies
module on Odoo 19. The core behaviour â global res.partner
visibility via an ir.rule override â is fully tested in
multi-company environments. If you encounter any issue or have a feature
request, we welcome your feedback via the Odoo Apps support system.
About Majorbird
Odoo Silver Partner â Manufacturing, Inventory & Accounting Automation
Offices in Vietnam, China, Mexico, and the Middle East.
www.majorbird.comOdoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module