Repository
OCA/pms · module folder · Try on Runboat
Module version
2.3.0
Category
Generic Modules/Property Management System
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/pms
Last tracking update
2026-08-07 08:09:22
Authors
Odoo Community Association (OCA), Commit [Sun]
Maintainers
Odoo Community Association (OCA), Commit [Sun]
Committers
Weblate, OCA-git-bot, oca-ci, jesusvmayor
Odoo dependencies
Python dependencies
openupgradelib
System dependencies
None
Required by
pms_l10n_es
Description

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
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_id Many2one → res.country
    comodel_name='res.country' compute='_compute_partner_document_data' help='Country of the document' readonly=False store=True string='Document Country'
  • document_expedition_date Date
    compute='_compute_partner_document_data' help='Date on which document_type was issued' readonly=False store=True string='Expedition Date'
  • document_number Char
    compute='_compute_partner_document_data' help='Host document number' readonly=False store=True
  • document_type Many2one → res.partner.id_category
    comodel_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=True readonly=False store=True
Public methods (4)
  • 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_ids Many2many → res.country
    comodel_name='res.country' string='Countries'
  • priority Integer
    default=100
Public methods (0)

No public methods.

New fields (2)
  • category_id Many2one
    domain="['|', ('country_ids', '=', False), ('country_ids', 'in', country_id)]"
  • country_id Many2one → res.country
    comodel_name='res.country' help='Country of the document' string='Country'
Public methods (0)

No public methods.