[WIP] update counter using current hotel

This commit is contained in:
Pablo
2019-08-30 12:06:33 +02:00
committed by Dario Lodeiros
parent 2dfafd967d
commit fc06f84af2

View File

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