diff options
| author | Yogesh Sakhreliya <ysa-openerp@ysa-openerp> | 2011-01-12 14:24:42 +0530 |
|---|---|---|
| committer | Yogesh Sakhreliya <ysa-openerp@ysa-openerp> | 2011-01-12 14:24:42 +0530 |
| commit | 5d41cd9cf44fc2dccf28b79ca218d1aa66a1770e (patch) | |
| tree | ea5e4994b4b7dbb0a8e27707721127a7bc3c2291 /bin/addons/base/ir/workflow | |
| parent | 343f7752af0677f945884bf3c2c17196ab9984bc (diff) | |
[FIX] workflow:- Subflow id pass in list in graph_get method.
bzr revid: ysa-openerp@ysa-openerp-20110112085442-cqt90cpii138q5jy
Diffstat (limited to 'bin/addons/base/ir/workflow')
| -rw-r--r-- | bin/addons/base/ir/workflow/print_instance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/base/ir/workflow/print_instance.py b/bin/addons/base/ir/workflow/print_instance.py index 259fe51d41a..4dd1f3d063b 100644 --- a/bin/addons/base/ir/workflow/print_instance.py +++ b/bin/addons/base/ir/workflow/print_instance.py @@ -38,7 +38,7 @@ def graph_get(cr, graph, wkf_ids, nested=False, workitem={}): cr.execute('select * from wkf where id=%s', (n['subflow_id'],)) wkfinfo = cr.dictfetchone() graph2 = pydot.Cluster('subflow'+str(n['subflow_id']), fontsize='12', label = """\"Subflow: %s\\nOSV: %s\"""" % ( n['name'], wkfinfo['osv']) ) - (s1,s2) = graph_get(cr, graph2, n['subflow_id'], nested,workitem) + (s1,s2) = graph_get(cr, graph2, [n['subflow_id']], nested,workitem) graph.add_subgraph(graph2) actfrom[n['id']] = s2 actto[n['id']] = s1 |
