diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-09-09 18:13:31 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-09-09 18:13:31 +0200 |
| commit | 298e2032ea3a8ef7aac3a606e2cbc420760fd4c9 (patch) | |
| tree | 0832a96998574fcb45148480bf22207a9bfef439 /addons/web/static/src | |
| parent | 75f60f69416625713819c810d2da33db4dc0b06c (diff) | |
| parent | 9f28139297af937990a79d4a3026ba25bb9be6fe (diff) | |
[MERGE] forward port branch saas-12 up to 9f28139
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/framework/data.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/web/static/src/js/framework/data.js b/addons/web/static/src/js/framework/data.js index 78bc5f39bfd..a350dadb59e 100644 --- a/addons/web/static/src/js/framework/data.js +++ b/addons/web/static/src/js/framework/data.js @@ -710,6 +710,13 @@ var DataSetSearch = DataSet.extend({ this._length -= (before - this.ids.length); } }, + add_ids: function(ids, at) { + var before = this.ids.length; + this._super(ids, at); + if(this._length){ + this._length += (this.ids.length - before); + } + }, unlink: function(ids, callback, error_callback) { var self = this; return this._super(ids).done(function() { |
