[WIP]pms_l10n_es: INE wizard avoid dummy checkins

This commit is contained in:
Darío Lodeiros
2022-07-21 17:26:01 +02:00
parent 7e3a4e5972
commit 218fcecd26

View File

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