diff options
| author | Gery Debongnie <ged@openerp.com> | 2013-12-19 14:10:58 +0100 |
|---|---|---|
| committer | Gery Debongnie <ged@openerp.com> | 2013-12-19 14:10:58 +0100 |
| commit | 1d92fc0353c7faad27d0e3a11c1591ce5b71d46e (patch) | |
| tree | 011b0c305b6122552ade77111107aea3302427c0 /addons/web_graph/static/src/js/graph.js | |
| parent | 7fc2afc5162124e213af84327b87cdc97ec9dec0 (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/js/graph.js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 2 |
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) { |
