mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms_api_rest: ignore overbooking reservations in calendar
This commit is contained in:
@@ -77,6 +77,7 @@ class PmsCalendarService(Component):
|
||||
WHERE (night.pms_property_id = %s)
|
||||
AND (night.date in %s)
|
||||
AND (night.state != 'cancel')
|
||||
AND (night.occupies_availability = True)
|
||||
""",
|
||||
(
|
||||
pms_property_id,
|
||||
|
||||
Reference in New Issue
Block a user