diff options
| author | Goffin Simon <sig@odoo.com> | 2017-02-06 14:24:51 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-02-06 16:39:59 +0100 |
| commit | 93448bb2b86d6f47005448080337b980470f6d5f (patch) | |
| tree | f9fe73f61106ffba148e0713bab8a45077776177 /addons/web/static/src | |
| parent | 483324393e6f9e53b0b87fa1951a17e3298a745c (diff) | |
[FIX] web: Dashboards error
Steps to reproduce:
Go to any pivot view (for example Sales > Report > Sales) and add
the current view to your personnal dashboard (in the search view: Favourites > Add to my Dashboard)
Go to the dashboard, traceback because $buttons was not defined.
opw:707296
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/views/pivot_view.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/views/pivot_view.js b/addons/web/static/src/js/views/pivot_view.js index 2293f2dac6f..cb9e4b8d02b 100644 --- a/addons/web/static/src/js/views/pivot_view.js +++ b/addons/web/static/src/js/views/pivot_view.js @@ -57,6 +57,7 @@ var PivotView = View.extend({ this.headers = {}; this.cells = {}; this.has_data = false; + this.$buttons = $(); this.last_header_selected = null; this.sorted_column = {}; |
