diff options
| author | Goffin Simon <sig@odoo.com> | 2017-02-06 14:24:51 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-02-10 11:01:03 +0100 |
| commit | 2f328d34472cb9cb71ec6ca3dcbdc6b54558d076 (patch) | |
| tree | b0dff14e5397fa4be9ee49bb4e283277415f6f9d /addons/web/static/src/js | |
| parent | 0556bc6d9e780e1d7100dc3f85d3fc4eee18502f (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/js')
| -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 d275e122285..28b3bee2cd2 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 = {}; |
