diff --git a/pms_l10n_es/wizards/traveller_report.py b/pms_l10n_es/wizards/traveller_report.py index 813627399..a82651891 100644 --- a/pms_l10n_es/wizards/traveller_report.py +++ b/pms_l10n_es/wizards/traveller_report.py @@ -76,7 +76,7 @@ class TravellerReport(models.TransientModel): # check if there's guests info pending to send if self.env["pms.checkin.partner"].search_count( [ - ("state", "=", "onboard", "done"), + ("state", "in", ["onboard", "done"]), ("arrival", ">=", str(date_target) + " 0:00:00"), ("pms_property_id", "=", property_id), ]