diff options
| author | Géry Debongnie <ged@odoo.com> | 2017-03-25 09:40:58 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | 1c7fa2e72dd2b6d97d38a32d4246163ae8ef9200 (patch) | |
| tree | a6f8b56ed502e6008f95620c716f3e2bfdd9bfbd /addons/web/static/src/js/views/pivot/pivot_controller.js | |
| parent | 556ee204d0edc888f31193a8068503deef3d1ee2 (diff) | |
[FIX] web: pivot view should not crash when sorting
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 9b154214dfc..2aa4cd93797 100644 --- a/addons/web/static/src/js/views/pivot/pivot_controller.js +++ b/addons/web/static/src/js/views/pivot/pivot_controller.js @@ -344,7 +344,7 @@ var PivotController = AbstractController.extend({ var isAscending = $target.hasClass('o_pivot_measure_row_sorted_asc'); this.model .sortRows(this.handle, col_id, measure, isAscending) - .then(this.update_state.bind(this)); + .then(this.update.bind(this, {}, {reload: false})); }, /** * This method is called when someone clicks on an open header. When that |
