diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-03-11 12:57:47 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2016-03-14 10:14:16 +0100 |
| commit | a395a54a7ca58e4a9db6d1e5d30c412a40f0c2a1 (patch) | |
| tree | fc65a9d37975ee27cd1473093ace86b2d899b81a /addons/web/static/src/js/framework/data.js | |
| parent | feeac2a4f1cd777770dd2b42534904ac71f23e46 (diff) | |
[FIX] web: dataset alter_ids method must use options
x2m send_commands add options for all command to avoid onchange trigger for internal change.
Diffstat (limited to 'addons/web/static/src/js/framework/data.js')
| -rw-r--r-- | addons/web/static/src/js/framework/data.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/src/js/framework/data.js b/addons/web/static/src/js/framework/data.js index 1e437ea2e05..a1b8e1602e9 100644 --- a/addons/web/static/src/js/framework/data.js +++ b/addons/web/static/src/js/framework/data.js @@ -940,11 +940,11 @@ var BufferedDataSet = DataSetStatic.extend({ this.evict_record(id); return this._super(id, signal); }, - alter_ids: function(n_ids) { + alter_ids: function(n_ids, options) { var dirty = !_.isEqual(this.ids, n_ids); - this._super(n_ids); + this._super(n_ids, options); if (dirty) { - this.trigger("dataset_changed", n_ids); + this.trigger("dataset_changed", n_ids, options); } }, }); |
