diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-05-26 10:48:42 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-05-26 15:15:59 +0200 |
| commit | f72bc6c9bed2d22d3e9b980b6c50f1d5a48ce9fd (patch) | |
| tree | 9176d58bcb2529a4b4e2a1568fbe9dfe33dadc3e /addons/web/static/src/js/views/pivot/pivot_controller.js | |
| parent | 62f446004f07772a56543c30af26f22a553970e9 (diff) | |
[FIX] web: Pivot: don't reload twice on expand all
Before this rev., the option 'reload: false' wasn't correctly
passed when clicking on 'Expand All', and the data was reloaded
twice.
Diffstat (limited to 'addons/web/static/src/js/views/pivot/pivot_controller.js')
| -rw-r--r-- | addons/web/static/src/js/views/pivot/pivot_controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/pivot/pivot_controller.js b/addons/web/static/src/js/views/pivot/pivot_controller.js index ae1b372e476..3902599e55c 100644 --- a/addons/web/static/src/js/views/pivot/pivot_controller.js +++ b/addons/web/static/src/js/views/pivot/pivot_controller.js @@ -221,7 +221,7 @@ var PivotController = AbstractController.extend({ } if ($target.hasClass('o_pivot_expand_button')) { this.model.expandAll(); - this.update({reload: false}); + this.update({}, {reload: false}); } if ($target.parents('.o_pivot_measures_list').length) { var parent = $target.parent(); |
