mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX][WIP] room type availability
This commit is contained in:
@@ -180,8 +180,8 @@ class BindingHotelRoomTypeAvailabilityListener(Component):
|
|||||||
if any(fields_checked) and any(record.channel_bind_ids):
|
if any(fields_checked) and any(record.channel_bind_ids):
|
||||||
for binding in record.channel_bind_ids:
|
for binding in record.channel_bind_ids:
|
||||||
binding.refresh_availability(
|
binding.refresh_availability(
|
||||||
record.checkin,
|
record.date,
|
||||||
record.checkout,
|
record.date,
|
||||||
binding.backend_id.id,
|
binding.backend_id.id,
|
||||||
room_type_id=record.room_type_id.id)
|
room_type_id=record.room_type_id.id)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user