From 1d92fc0353c7faad27d0e3a11c1591ce5b71d46e Mon Sep 17 00:00:00 2001 From: Gery Debongnie Date: Thu, 19 Dec 2013 14:10:58 +0100 Subject: [PATCH] [FIX] correctly honors the 'bar' setting in graph views descriptions (addon web_graph) bzr revid: ged@openerp.com-20131219131058-ng9fix57v5hqu8pq --- addons/web_graph/static/src/js/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index a473e4df042..234fffc5449 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -53,7 +53,7 @@ instance.web_graph.GraphView = instance.web.View.extend({ measure = null; if (fields_view_get.arch.attrs.type === 'bar') { - this.mode = 'bar_chart'; + this.graph_widget.mode = 'bar_chart'; } _.each(fields_view_get.arch.children, function (field) {