Intercompany shared contact
intercompany_shared_contact · OCA/multi-company
Health
51/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 31 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
1 migration note
3 models
0 views
0 HTTP endpoints
Migration considerations
ResCompany— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- purchase_quick_intercompany
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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)