diff --git a/hotel_calendar/static/src/js/views/calendar/hotel_calendar_model.js b/hotel_calendar/static/src/js/views/calendar/hotel_calendar_model.js index c89eb6d31..b53974c66 100644 --- a/hotel_calendar/static/src/js/views/calendar/hotel_calendar_model.js +++ b/hotel_calendar/static/src/js/views/calendar/hotel_calendar_model.js @@ -106,7 +106,7 @@ return AbstractModel.extend({ }, search_count: function(domain) { - // TODO: add hotel_id domain based on modelName + domain.push(['hotel_id', '=', Session.hotel_id]); return this._rpc({ model: this.modelName, method: 'search_count',