[WIP] update counter using current hotel

This commit is contained in:
Pablo
2019-08-30 12:06:33 +02:00
parent 8652e11ce3
commit dc240af2b0

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