diff options
| author | YSA (Openerp) <ysa@tinyerp.com> | 2011-01-20 11:07:33 +0530 |
|---|---|---|
| committer | YSA (Openerp) <ysa@tinyerp.com> | 2011-01-20 11:07:33 +0530 |
| commit | f030d1219e2411e4b557f960d603fca1fcbb012e (patch) | |
| tree | f7cc7e772563e2a1fecc9713987b569af35bd0d4 /bin/addons/base/ir/workflow/print_instance.py | |
| parent | 1b287f9b7b7ffc6719a7839753597341cc75d7fb (diff) | |
| parent | 10a6bb350c2f054e262ee4649855185795e611d5 (diff) | |
Merge with trunk-server
bzr revid: ysa@tinyerp.com-20110120053733-ws7mfcfw15p0iyy1
Diffstat (limited to 'bin/addons/base/ir/workflow/print_instance.py')
| -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 |
