[IMP]pms_l10n_es: INE report only done and onboard checkins

This commit is contained in:
Darío Lodeiros
2023-02-05 11:14:13 +01:00
parent 3911d4a4fb
commit 3d7d2e06b0

View File

@@ -336,7 +336,7 @@ class WizardIne(models.TransientModel):
("checkin", "<=", p_date),
("checkout", ">=", p_date),
("reservation_id.reservation_type", "=", "normal"),
("state", "not in", ["dummy", "draft", "cancel"]),
("state", "not in", ["dummy", "draft", "cancel", "precheckin"]),
]
)
hosts = hosts.filtered(