mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[WIP] update counter using current hotel
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user