summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js
diff options
context:
space:
mode:
authorMohammed Shekha <msh@openerp.com>2013-02-20 15:47:21 +0530
committerMohammed Shekha <msh@openerp.com>2013-02-20 15:47:21 +0530
commit9ab4bcb43b0a0928986290cd15a835aaa762ece8 (patch)
tree6f57164e0d70a06e1b39e9326e8413836f8e761b /addons/web_graph/static/src/js
parentf559b97ce91a4faaca92904bd66f3efd0726f5ea (diff)
[FIX]Fixed the issue of context not passed in fields_view_get method for graph view.
bzr revid: msh@openerp.com-20130220101721-7rzlpdpy7p5em0g7
Diffstat (limited to 'addons/web_graph/static/src/js')
-rw-r--r--addons/web_graph/static/src/js/graph.js2
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 35ad0aaaea8..ce98962367c 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -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 });