[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:
Mohammed Shekha 2013-02-20 15:47:21 +05:30
parent f559b97ce9
commit 9ab4bcb43b
1 changed files with 1 additions and 1 deletions

View File

@ -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 });