mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] ota_capacity
This commit is contained in:
@@ -75,7 +75,7 @@ class HotelReservationImporter(Component):
|
|||||||
split_booking, dates_checkin, dates_checkout, book):
|
split_booking, dates_checkin, dates_checkout, book):
|
||||||
is_cancellation = book['status'] in WUBOOK_STATUS_BAD
|
is_cancellation = book['status'] in WUBOOK_STATUS_BAD
|
||||||
tax_inclusive = True
|
tax_inclusive = True
|
||||||
persons = room_type_bind.channel_capacity
|
persons = room_type_bind.ota_capacity
|
||||||
# Dates
|
# Dates
|
||||||
checkin_str = dates_checkin[0].strftime(
|
checkin_str = dates_checkin[0].strftime(
|
||||||
DEFAULT_SERVER_DATETIME_FORMAT)
|
DEFAULT_SERVER_DATETIME_FORMAT)
|
||||||
|
|||||||
Reference in New Issue
Block a user