diff --git a/hotel_calendar/static/src/js/views/calendar_management/hotel_calendar_management_model.js b/hotel_calendar/static/src/js/views/calendar_management/hotel_calendar_management_model.js index 76231030d..7167dbd32 100644 --- a/hotel_calendar/static/src/js/views/calendar_management/hotel_calendar_management_model.js +++ b/hotel_calendar/static/src/js/views/calendar_management/hotel_calendar_management_model.js @@ -52,8 +52,7 @@ return AbstractModel.extend({ }, get_restriction_plans: function () { - // TODO: FIXME: search and read restriction plans for current hotel - var domain = [['item_ids.room_type_id.hotel_id', '=', Session.hotel_id]]; + var domain = [['hotel_id', '=', Session.hotel_id]]; return this._rpc({ model: 'hotel.room.type.restriction', method: 'search_read',