Skip to content

Commit

Permalink
[FIX] web: Dashboards error
Browse files Browse the repository at this point in the history
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
  • Loading branch information
simongoffin committed Feb 10, 2017
1 parent 0556bc6 commit 2f328d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/web/static/src/js/views/pivot_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};
Expand Down

0 comments on commit 2f328d3

Please sign in to comment.