BASE: improve print workflow
bzr revid: ced-6b9c4e6af55442b976be07829ebd2c6bb8460f14
This commit is contained in:
parent
96645e1b98
commit
ec860fcfa7
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue