[FIX]:The pdf when printing workflow was always showing 'G' in the title changed to model name

bzr revid: nch@tinyerp.com-20110614065257-nuqlqhrkw2yd5lm4
This commit is contained in:
Naresh (OpenERP) 2011-06-14 12:22:57 +05:30
parent d042ae3750
commit 64df44c12b
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ showpage'''
(No workflow instance defined) show
showpage'''
else:
graph = pydot.Dot(
graph = pydot.Dot(graph_name=data['model'].replace('.','_'),
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',