diff options
| author | Martin Geubelle <mge@odoo.com> | 2017-04-14 13:52:09 +0200 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2017-04-19 17:49:35 +0200 |
| commit | 5dfd3a9d7c8646820b960f44c91bee2423c1cb61 (patch) | |
| tree | 54ca6c9a6867db01a8548ed02a050d2b16818fc6 /addons/web/static/src/js | |
| parent | 8535050c64d336330d2bbddd80f0095df0db2508 (diff) | |
[FIX] web: List: archive record
The method `update_state` doesn't exist anymore and has been
replaced by `update`.
Diffstat (limited to 'addons/web/static/src/js')
| -rw-r--r-- | addons/web/static/src/js/views/list/list_controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/list/list_controller.js b/addons/web/static/src/js/views/list/list_controller.js index 5dcc2300eac..94c38a62376 100644 --- a/addons/web/static/src/js/views/list/list_controller.js +++ b/addons/web/static/src/js/views/list/list_controller.js @@ -155,7 +155,7 @@ var ListController = BasicController.extend({ } return this.model .toggleActive(ids, !archive, this.handle) - .then(this.update_state.bind(this)); + .then(this.update.bind(this, {}, {reload: false})); }, /** * This function is the hook called by the field manager mixin to confirm |
