[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:
parent
7fc2afc516
commit
1d92fc0353
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue