diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-09-09 15:43:06 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-09-09 15:43:06 +0200 |
| commit | 7a02b90e17520aa47c2093f9ac756cfd0e5bd914 (patch) | |
| tree | 5a21e49a2aa952e0c06f0ded617b16a3c955adb8 /addons/web/static/src | |
| parent | b5f7b49ff8be3d384f707382b53e5510187152f0 (diff) | |
| parent | dc4d6b6a7a2ed8bd88c389dd72d1a5ef137c333c (diff) | |
[MERGE] forward port branch saas-11 up to dc4d6b6
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() { |
