[IMP]14.0-pms_api_rest: origin input data field in checkin partner modal

This commit is contained in:
braisab
2024-03-22 18:48:33 +01:00
committed by Darío Lodeiros
parent 142cb883e8
commit b07a113fd5
5 changed files with 51 additions and 27 deletions

View File

@@ -8,3 +8,4 @@ from . import product_template
from . import ota_property_settings
from . import pms_api_log
from . import pms_folio
from . import pms_checkin_partner

View File

@@ -0,0 +1,13 @@
from odoo import fields, models
class PmsCheckinPartner(models.Model):
_inherit = 'pms.checkin.partner'
origin_input_data = fields.Selection([
('wizard', 'Wizard'),
('form', 'Form'),
('regular_customer', 'Regular Customer'),
('ocr', 'OCR'),
('precheckin', 'Precheckin'),
], string='Origin Input Data')