diff --git a/hotel_channel_connector_wubook/models/hotel_reservation/importer.py b/hotel_channel_connector_wubook/models/hotel_reservation/importer.py index 7c530d136..e05277326 100644 --- a/hotel_channel_connector_wubook/models/hotel_reservation/importer.py +++ b/hotel_channel_connector_wubook/models/hotel_reservation/importer.py @@ -242,7 +242,8 @@ class HotelReservationImporter(Component): ) if is_cancellation: binding.odoo_id.with_context({ - 'connector_no_export': True}).action_cancel() + 'connector_no_export': True, + 'ota_limits': False}).action_cancel() # WuBook always add +1 in the channel manager for cancelled reservation # However, the quota in Odoo has preference in the availability cancelled_dates = binding.reservation_line_ids.mapped('date')