[FIX] resolved error to print complex workflow diagram
authorHarry (Open ERP) <hmo@tinyerp.com>
Wed, 25 Nov 2009 07:01:53 +0000 (12:31 +0530)
committerHarry (Open ERP) <hmo@tinyerp.com>
Wed, 25 Nov 2009 07:01:53 +0000 (12:31 +0530)
bzr revid: hmo@tinyerp.com-20091125070153-z2eaptf14ae5d5z3

bin/addons/base/ir/workflow/print_instance.py

index f9885b9..bac8eed 100644 (file)
@@ -146,8 +146,7 @@ showpage'''
                 else:
                     inst_id = inst_id[0]
                     graph = pydot.Dot(fontsize='16', label="""\\\n\\nWorkflow: %s\\n OSV: %s""" % (wkfinfo['name'],wkfinfo['osv']),
-                                      size='7.3, 10.1', center='1', ratio='auto', rotate='0', rankdir='TB',
-                                      ordering='out'
+                                      size='7.3, 10.1', center='1', ratio='auto', rotate='0', rankdir='TB',                                      
                                      )
                     graph_instance_get(cr, graph, inst_id, data.get('nested', False))
                     ps_string = graph.create(prog='dot', format='ps')