[FIX] project : Warn message's body text missing detail information

lp bug: https://launchpad.net/bugs/722156 fixed

bzr revid: rme@tinyerp.com-20110222125805-7wx0jfkx3m61g8xf
This commit is contained in:
RME (OpenERP) 2011-02-22 18:28:05 +05:30
parent 91c1768528
commit ba622dd968
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class project_task_close(osv.osv_memory):
footer = (re.sub(r'\%\W*\(', '%(', footer_str)) % val
except:
raise osv.except_osv(_('Error'), _("Invlaid automatic variables used in project header or foooter."))
body = u'%s\n%s\n%s\n\n-- \n%s' % (header, task.description, footer, signature)
body = u'%s\n%s\n%s\n\n-- \n%s' % (header, data.description or '', footer, signature)
if data.manager_warn and data.manager_email:
to_adr.append(data.manager_email)
if data.partner_warn and data.partner_email: