Fixed graph layout.

bzr revid: ame@tinyerp.com-20081008143858-3sihfusz0getwg12
This commit is contained in:
Amit Mendapara
2008-10-08 20:08:58 +05:30
parent 75a1320849
commit f70443c129
+2 -2
View File
@@ -232,8 +232,8 @@ class process_process(osv.osv):
# fix the height problem
miny = -1
for k,v in nodes.items():
x = graph[k]['y']
y = graph[k]['x']
x = graph[k]['x']
y = graph[k]['y']
if miny == -1:
miny = y
miny = min(y, miny)