mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms_api_rest: filter last received reservations 'normal' - dashboard service
This commit is contained in:
committed by
Darío Lodeiros
parent
6283c1e920
commit
310f350efa
@@ -685,6 +685,7 @@ class PmsDashboardServices(Component):
|
||||
[
|
||||
("first_checkin", ">=", datetime.now().date()),
|
||||
("pms_property_id", "=", pms_folio_search_param.pmsPropertyId),
|
||||
("reservation_type", "=", "normal"),
|
||||
],
|
||||
limit=pms_folio_search_param.limit,
|
||||
offset=pms_folio_search_param.offset,
|
||||
@@ -738,5 +739,6 @@ class PmsDashboardServices(Component):
|
||||
[
|
||||
("first_checkin", ">=", datetime.now().date()),
|
||||
("pms_property_id", "=", pms_folio_search_param.pmsPropertyId),
|
||||
("reservation_type", "=", "normal"),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user