From 2e9096f55a75ce03494f875612831663b759736c Mon Sep 17 00:00:00 2001 From: Pablo Date: Wed, 6 Feb 2019 16:46:34 +0100 Subject: [PATCH] [FIX] ota_capacity --- .../models/hotel_reservation/importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotel_channel_connector_wubook/models/hotel_reservation/importer.py b/hotel_channel_connector_wubook/models/hotel_reservation/importer.py index 31b8e0e40..3e62d74c6 100644 --- a/hotel_channel_connector_wubook/models/hotel_reservation/importer.py +++ b/hotel_channel_connector_wubook/models/hotel_reservation/importer.py @@ -75,7 +75,7 @@ class HotelReservationImporter(Component): split_booking, dates_checkin, dates_checkout, book): is_cancellation = book['status'] in WUBOOK_STATUS_BAD tax_inclusive = True - persons = room_type_bind.channel_capacity + persons = room_type_bind.ota_capacity # Dates checkin_str = dates_checkin[0].strftime( DEFAULT_SERVER_DATETIME_FORMAT)