[FIX] correctly honors the 'bar' setting in graph views descriptions (addon web_graph)

bzr revid: ged@openerp.com-20131219131058-ng9fix57v5hqu8pq
This commit is contained in:
Gery Debongnie 2013-12-19 14:10:58 +01:00
parent 7fc2afc516
commit 1d92fc0353
1 changed files with 1 additions and 1 deletions

View File

@ -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) {