summaryrefslogtreecommitdiff
path: root/addons/web_graph/controllers
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@openerp.com>2012-05-08 01:19:22 +0200
committerFabien Pinckaers <fp@openerp.com>2012-05-08 01:19:22 +0200
commit28fc657e4890783a144110cd6aa5fe4de62cc4d4 (patch)
treeced1c3f58f0e911e679013df02122f680f7bd187 /addons/web_graph/controllers
parentc50d8e4cda47e5aa05a78fcd3c3bb760b8d07f75 (diff)
[IMP] fix
bzr revid: fp@openerp.com-20120507231922-8i2hze383xsxlerj
Diffstat (limited to 'addons/web_graph/controllers')
-rw-r--r--addons/web_graph/controllers/graph.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_graph/controllers/graph.py b/addons/web_graph/controllers/graph.py
index 1535bb37452..4444c734204 100644
--- a/addons/web_graph/controllers/graph.py
+++ b/addons/web_graph/controllers/graph.py
@@ -78,6 +78,7 @@ class GraphView(View):
'label': fields[x]['string']
})
else:
+ xaxis.reverse()
axis = obj.read_group(domain, yaxis+xaxis[0:1], xaxis[0:1], context=context)
for x in axis:
key = x[xaxis[0]]