From 1234f14e0558dd74559f42e2e2a62118877c9d08 Mon Sep 17 00:00:00 2001 From: Dario Lodeiros Date: Mon, 12 Nov 2018 21:24:21 +0100 Subject: [PATCH] [FIX] delete applied_on from calendar inherit hotel_reservation --- hotel_calendar/models/inherited_hotel_reservation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/hotel_calendar/models/inherited_hotel_reservation.py b/hotel_calendar/models/inherited_hotel_reservation.py index 07b792e96..9e4ce35e6 100644 --- a/hotel_calendar/models/inherited_hotel_reservation.py +++ b/hotel_calendar/models/inherited_hotel_reservation.py @@ -176,7 +176,6 @@ class HotelReservation(models.Model): rest_id = room_type_rest_obj.search([ ('room_type_id', '=', room_type.id), ('date', '>=', ndate_str), - ('applied_on', '=', '0_room_type'), ('restriction_id', '=', restriction_id) ], limit=1) if rest_id and (rest_id.min_stay or rest_id.min_stay_arrival or