PMS partner identification
pms_partner_identification · OCA/pms
Health
70/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 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
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
2 migration notes
3 models
9 views
0 HTTP endpoints
Migration considerations
ResPartnerIdNumber— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE res_partner_id_category SET name = jsonb_build_object(%s, %s) WHERE id = %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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
- openupgradelib
- System dependencies
- None
- Required by
- pms_l10n_es
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
inherit_partner_id_numbers_form |
inherit.res.partner.id_number.form | res.partner.id_number | form | Inherits partner_identification.view_partner_id_numbers_form |
inherit_partner_id_numbers_tree |
inherit.res.partner.id_number.tree | res.partner.id_number | tree | Inherits partner_identification.view_partner_id_numbers_tree |
pms_checkin_partner_folio_view_tree |
pms.checkin.partner.inherit.view.form | pms.checkin.partner | form | Inherits pms.pms_checkin_partner_folio_view_tree |
pms_checkin_partner_kanban_view |
pms.checkin.partner.inherit.view.form | pms.checkin.partner | form | Inherits pms.pms_checkin_partner_kanban_view |
pms_checkin_partner_reservation_view_tree |
pms.checkin.partner.inherit.view.form | pms.checkin.partner | form | Inherits pms.pms_checkin_partner_reservation_view_tree |
pms_checkin_partner_view_form |
pms.checkin.partner.inherit.view.form | pms.checkin.partner | form | Inherits pms.pms_checkin_partner_view_form |
pms_checkin_partner_view_tree |
pms.checkin.partner.inherit.view.form | pms.checkin.partner | form | Inherits pms.pms_checkin_partner_view_tree |
view_partner_id_category_form_inherited |
view.partner.id.category.form.inherited | res.partner.id_category | form | Inherits partner_identification.view_partner_id_category_form |
view_partner_id_category_tree_inherited |
view.partner.id.category.tree.inherited | res.partner.id_category | tree | Inherits partner_identification.view_partner_id_category_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (4)
-
document_country_idMany2one → res.countrycomodel_name='res.country'compute='_compute_partner_document_data'help='Country of the document'readonly=Falsestore=Truestring='Document Country' -
document_expedition_dateDatecompute='_compute_partner_document_data'help='Date on which document_type was issued'readonly=Falsestore=Truestring='Expedition Date' -
document_numberCharcompute='_compute_partner_document_data'help='Host document number'readonly=Falsestore=True -
document_typeMany2one → res.partner.id_categorycomodel_name='res.partner.id_category'compute='_compute_partner_document_data'domain="['|', ('country_ids', '=', False), ('country_ids', 'in', document_country_id)]"help='Select a valid document type'index=Truereadonly=Falsestore=True
-
get_document_vals(self) -
set_partner_id(self) -
validate_id_number(self)@api.constrains('document_number', 'document_type', 'document_country_id')Validate the given ID number The method raises an odoo.exceptions.ValidationError if the eval of python validation code fails -
write(self, vals)
New fields (2)
-
country_idsMany2many → res.countrycomodel_name='res.country'string='Countries' -
priorityIntegerdefault=100
No public methods.
New fields (2)
-
category_idMany2onedomain="['|', ('country_ids', '=', False), ('country_ids', 'in', country_id)]" -
country_idMany2one → res.countrycomodel_name='res.country'help='Country of the document'string='Country'
No public methods.