From 667e5c6b63e057858a54946048221b3ada2f8862 Mon Sep 17 00:00:00 2001 From: QS5ELkMu Date: Wed, 7 Nov 2018 18:50:16 +0100 Subject: [PATCH] [WIP] Channel Connector: Avail fields --- .../models/hotel_room_type_availability/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hotel_channel_connector/models/hotel_room_type_availability/common.py b/hotel_channel_connector/models/hotel_room_type_availability/common.py index 4fb1ea017..ccd521a36 100644 --- a/hotel_channel_connector/models/hotel_room_type_availability/common.py +++ b/hotel_channel_connector/models/hotel_room_type_availability/common.py @@ -28,6 +28,8 @@ class ChannelHotelRoomTypeAvailability(models.Model): string='Pricelist', required=True, ondelete='cascade') + no_ota = fields.Boolean('No OTA', default=False) + booked = fields.Boolean('Booked', default=False, readonly=True) channel_max_avail = fields.Integer("Max. Channel Avail", default=_default_channel_max_avail, old_name='wmax_avail')