Contacts in several partners
partner_contact_in_several_companies · OCA/partner-contact
Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 17 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
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.5 MB
Module directory on disk
Code analysis
1 migration note
2 models
5 views
0 HTTP endpoints
Migration considerations
view_partner_form_inherit— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · 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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
personal_contact_information |
Contacts in several partners: personal info | res.partner | Inherits partner_contact_personal_information_page.personal_information | |
view_partner_form_inherit |
res.partner.form.contact | res.partner | form | Inherits base.view_partner_form |
view_res_partner_filter_contact |
res.partner.select.contact | res.partner | Inherits base.view_res_partner_filter | |
view_res_partner_kanban_contact |
res.partner.kanban.contact | res.partner | kanban | Inherits base.res_partner_kanban_view |
view_res_partner_tree_contact |
res.partner.tree.contact | res.partner | tree | Inherits base.view_partner_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (1)-
read(self, fields=None, context=None, load='_classic_read')
New fields (3)
-
contact_idMany2one → res.partnerdomain=[('is_company', '=', False), ('contact_type', '=', 'standalone')]string='Main Contact' args: 'res.partner' -
contact_typeSelectioncompute='_compute_contact_type'default='standalone'index=Truestore=True args: [('standalone', 'Standalone Contact'), ('attached', 'Attached to existing Contact')] -
other_contact_idsOne2many → res.partnerstring='Others Positions' args: 'res.partner', 'contact_id'
-
create(self, vals_list)@api.model_create_multiWhen creating, use a modified self to alter the context (see comment in _basecontact_check_context). Also, we need to ensure that the name on an attached contact is the same as the name on the contact it is attached to. -
read(self, fields=None, load='_classic_read') -
search(self, args, offset=0, limit=None, order=None, count=False)@api.modelDisplay only standalone contact matching ``args`` or having attached contact matching ``args`` -
unlink(self) -
update_contact(self, vals) -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…