[FIX] delete applied_on from calendar inherit hotel_reservation

This commit is contained in:
Dario Lodeiros
2018-11-12 21:24:21 +01:00
parent 3a8f7ac7b0
commit 1234f14e05

View File

@@ -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