[FIX]Fixed the issue of context not passed in fields_view_get method for graph view.
bzr revid: msh@openerp.com-20130220101721-7rzlpdpy7p5em0g7
This commit is contained in:
parent
f559b97ce9
commit
9ab4bcb43b
|
@ -246,7 +246,7 @@ instance.web_graph.GraphView = instance.web.View.extend({
|
|||
var result = [];
|
||||
var ticks = {};
|
||||
|
||||
return obj.call("fields_view_get", [view_id, 'graph']).then(function(tmp) {
|
||||
return obj.call("fields_view_get", [view_id, 'graph', context]).then(function(tmp) {
|
||||
view_get = tmp;
|
||||
fields = view_get['fields'];
|
||||
var toload = _.select(group_by, function(x) { return fields[x] === undefined });
|
||||
|
|
Loading…
Reference in New Issue