summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2013-12-19 14:10:58 +0100
committerGery Debongnie <ged@openerp.com>2013-12-19 14:10:58 +0100
commit1d92fc0353c7faad27d0e3a11c1591ce5b71d46e (patch)
tree011b0c305b6122552ade77111107aea3302427c0 /addons/web_graph/static/src
parent7fc2afc5162124e213af84327b87cdc97ec9dec0 (diff)
[FIX] correctly honors the 'bar' setting in graph views descriptions (addon web_graph)
bzr revid: ged@openerp.com-20131219131058-ng9fix57v5hqu8pq
Diffstat (limited to 'addons/web_graph/static/src')
-rw-r--r--addons/web_graph/static/src/js/graph.js2
1 files changed, 1 insertions, 1 deletions
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) {