From 007bce3f6c846c7b7f42c01f99fae1b93f85143e Mon Sep 17 00:00:00 2001 From: chirag patel Date: Wed, 8 May 2013 16:05:06 +0530 Subject: [PATCH] [FIX] Fixed graph multiple group show wrong results. bzr revid: cpa@tinyerp.com-20130508103506-n8gq6dvvcv5wi3bi --- addons/web_graph/static/src/js/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index 8710b840209..55ce776fa60 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -343,7 +343,7 @@ instance.web_graph.GraphView = instance.web.View.extend({ var defs = []; _.each(axis, function(x) { var key = x[xaxis[0]] - defs.push(obj.call("read_group", [domain, yaxis.concat(xaxis.slice(1, 2)), xaxis.slice(1, 2)], {context: context}).then(function(res) { + defs.push(obj.call("read_group", [x['__domain'], yaxis.concat(xaxis.slice(1, 2)), xaxis.slice(1, 2)], {context: context}).then(function(res) { return [x, key, res]; })); });