summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_graph/static/src/js/graph.js')
-rw-r--r--addons/web_graph/static/src/js/graph.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index f39f0574e9b..0259b4bcf73 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -340,9 +340,7 @@ instance.web_graph.Graph = instance.web.Widget.extend(openerp.EventDispatcherMix
this.pivot.swap_axis();
break;
case 'expand_all':
- this.pivot.rows.headers = null;
- this.pivot.cols.headers = null;
- this.pivot.update_data();
+ this.pivot.expand_all();
break;
case 'update_values':
this.pivot.update_data();