[IMP]pms_l10n_es: improvements in traveller reports

This commit is contained in:
Darío Lodeiros
2022-12-14 11:54:00 +01:00
parent eb986e6b89
commit 41e0d983be
3 changed files with 43 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ class PmsLogInstitutionTravellerReport(models.Model):
_description = "Report of daily sending files of travellers to institutions."
date = fields.Datetime(
string="Date and time",
string="Send Date",
default=fields.Datetime.now,
)
error_sending_data = fields.Boolean(
@@ -21,3 +21,10 @@ class PmsLogInstitutionTravellerReport(models.Model):
)
txt_filename = fields.Text()
txt_message = fields.Char(string="Log Message")
pms_property_id = fields.Many2one(
comodel_name="pms.property",
string="Property",
)
target_date = fields.Date(
string="Checkins Date",
)