TIP: You can type at any time to perform a new search.
Partner multi-company
partner_multi_company · OCA/multi-company
Security findings
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `INSERT INTO res_company_res_partner_rel (res_partner_id, res_company_id) SELECT id, company_id FROM res_partner WHERE company_id IS NOT NULL` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/multi-company · module folder · Try on Runboat
- Module version
- 1.0.3
- Category
- Partner Management
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/multi-company
- Last tracking update
- 2026-08-07 08:42:59
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Carlos Lopez, Simone Rubino, Weblate, OCA-git-bot, oca-ci, christian-ramos-tecnativa, Arnau
- Odoo dependencies
-
OCA/multi-company:
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_partner_view_form |
Partner template form view (with multi-company) | res.partner | form | Inherits base.view_partner_form |
view_partner_bank_form |
res.partner.bank.form | res.partner.bank | form | Inherits base.view_partner_bank_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
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_multiNeutralize 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_idsMany2manyrelated='partner_id.company_ids'string='Companies'
No public methods.
New fields (0)
No new fields.
Public methods (2)-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…