TIP: You can type at any time to perform a new search.
Intercompany shared contact
intercompany_shared_contact · OCA/multi-company
- Repository
- OCA/multi-company · module folder · Try on Runboat
- Module version
- 1.1.3
- Category
- Partner
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/multi-company
- Last tracking update
- 2026-08-07 07:47:42
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Miquel Raïch, Sébastien BEAU, Weblate, OCA-git-bot, oca-travis
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- purchase_quick_intercompany
- Description
Code Analysis ⓘ
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (1)-
create(self, vals_list)@api.model_create_multi
New fields (2)
-
origin_company_idMany2one → res.companycompute='_compute_origin_company_id'compute_sudo=Truehelp="Hack field to keep the information of the 'real' company_id. That way, we can share the contact by setting company_id to null, without losing any information. If null, the contact is not shared."index=Truestore=True args: 'res.company' -
res_company_idOne2many → res.companyhelp='Effectively a One2one field to represent the corresponding res.company'readonly=True args: 'res.company', 'partner_id'
-
check_field_access_rights(self, operation, fields)
New fields (0)
No new fields.
Public methods (3)-
create(self, vals_list)@api.model_create_multi -
onchange_company_id(self)@api.onchange('company_id') -
write(self, vals)