summaryrefslogtreecommitdiff
path: root/addons/web_graph/static
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-11-02 10:58:29 +0100
committerFabien Pinckaers <fp@tinyerp.com>2012-11-02 10:58:29 +0100
commit758ffd96b7e047f802fa8907ac046e04742bfb9f (patch)
treebfae7fc92d22bb692169e5e190d438e3ad1c1b8e /addons/web_graph/static
parentbb2e63e67fd4980868dfed15736932909a3a03a9 (diff)
parent71367092941c647635af28c1477d83e053162009 (diff)
[FIX] graph
bzr revid: fp@tinyerp.com-20121102095829-myskt4oowj6vme30
Diffstat (limited to 'addons/web_graph/static')
-rw-r--r--addons/web_graph/static/src/js/graph.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index ec8ee7cbd3d..8d8d49d0a44 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -340,8 +340,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", [new instance.web.CompoundDomain(domain, [[xaxis[0], '=' ,_convert_key(xaxis[0], key)]]),
- yaxis.concat(xaxis.slice(1, 2)), xaxis.slice(1, 2)], {context: context}).pipe(function(res) {
+ defs.push(obj.call("read_group", [domain, yaxis.concat(xaxis.slice(1, 2)), xaxis.slice(1, 2)], {context: context}).pipe(function(res) {
return [x, key, res];
}));
});