BASE: improve print workflow

bzr revid: ced-6b9c4e6af55442b976be07829ebd2c6bb8460f14
This commit is contained in:
ced 2007-04-25 14:09:11 +00:00
parent 96645e1b98
commit ec860fcfa7
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def graph_get(cr, graph, wkf_id, nested=False, workitem={}):
transitions = cr.dictfetchall()
for t in transitions:
args = {}
args['label'] = str(t['condition'])
args['label'] = str(t['condition']).replace(' or ', '\\nor ').replace(' and ', '\\nand ')
if t['signal']:
args['label'] += '\\n'+str(t['signal'])
args['style'] = 'bold'