From d974b5ee5dd9d4fdee149eb1fd3c4eb109c7b31a Mon Sep 17 00:00:00 2001 From: Pablo Date: Thu, 13 Dec 2018 18:47:21 +0100 Subject: [PATCH] [FIX] renamed field date_start --- .../models/inherited_hotel_room_type_restriction_item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotel_calendar/models/inherited_hotel_room_type_restriction_item.py b/hotel_calendar/models/inherited_hotel_room_type_restriction_item.py index de9a8fedf..486c58152 100644 --- a/hotel_calendar/models/inherited_hotel_room_type_restriction_item.py +++ b/hotel_calendar/models/inherited_hotel_room_type_restriction_item.py @@ -64,7 +64,7 @@ class HotelRoomTypeResrtrictionItem(models.Model): continue unlink_vals.append({ 'restriction_id': record.restriction_id.id, - 'date': record.date_start, + 'date': record.date, 'min_stay': 0, 'min_stay_arrival': 0, 'max_stay': 0,