Partner Match or Create
partner_match_or_create · OCA/donation
Health
77/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 5 months ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 16.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.1 MB
Module directory on disk
Code analysis
1 migration note
3 models
3 views
0 HTTP endpoints
Migration considerations
ResPartnerTitle— 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
This is a technical module used by the OCA module stay_api and the OCA module donation_api. It allows to share code between those 2 modules.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- stay_api
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
partner_match_or_create_form |
partner.match.or.create | form | New | |
view_partner_title_form |
res.partner.title | form | Inherits base.view_partner_title_form | |
view_partner_title_tree |
res.partner.title | tree | Inherits base.view_partner_title_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (30)
-
cityChar -
country_idMany2one → res.countryargs: 'res.country' -
create_or_updateSelectionrequired=True args: [('create', "This partner doesn't already exists in Odoo"), ('update', 'This partner already exists in Odoo')] -
emailCharstring='E-mail' -
firstnameChar -
lastnameCharrequired=True -
mobileChar -
phoneChar -
res_idIntegerreadonly=Truerequired=True -
res_modelCharreadonly=Truerequired=True -
state_idMany2one → res.country.stateargs: 'res.country.state' -
streetCharstring='Address Line 1' -
street2Charstring='Address Line 2' -
suggested_partner_idsMany2many → res.partnerreadonly=Truestring='Suggested Contacts' args: 'res.partner' -
title_idMany2one → res.partner.titleargs: 'res.partner.title' -
update_addressBooleancompute='_compute_update_bool'precompute=Truereadonly=Falsestore=True -
update_emailBooleancompute='_compute_update_bool'precompute=Truereadonly=Falsestore=Truestring='Update E-mail' -
update_mobileBooleancompute='_compute_update_bool'precompute=Truereadonly=Falsestore=True -
update_partner_cityCharrelated='update_partner_id.city'string='Current City' -
update_partner_country_idMany2onerelated='update_partner_id.country_id'string='Current Country' -
update_partner_emailCharrelated='update_partner_id.email'string='Current E-mail' -
update_partner_idMany2one → res.partnercompute='_compute_update_partner_id'precompute=Truereadonly=Falsestore=Truestring='Contact to Update' args: 'res.partner' -
update_partner_mobileCharrelated='update_partner_id.mobile'string='Current Mobile' -
update_partner_phoneCharrelated='update_partner_id.phone'string='Current Phone' -
update_partner_state_idMany2onerelated='update_partner_id.state_id'string='Current State' -
update_partner_streetCharrelated='update_partner_id.street'string='Current Street' -
update_partner_street2Charrelated='update_partner_id.street2'string='Current Street2' -
update_partner_zipCharrelated='update_partner_id.zip'string='Current ZIP' -
update_phoneBooleancompute='_compute_update_bool'precompute=Truereadonly=Falsestore=True -
zipCharstring='ZIP'
-
create_partner(self) -
default_get(self, fields_list)@api.model -
update_partner(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
api_codeCharcopy=Falsehelp='Technical code used by the API. Do not modify!'string='API Code'
No public methods.
Loading…