[FIX] crm: Declare the signature variable

bzr revid: stephane@openerp.com-20100511165416-vmilmnn9zws8dxrd
This commit is contained in:
Stephane Wirtel 2010-05-11 18:54:16 +02:00
parent 9f92862f80
commit c1fa53db2b
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ class crm_send_new_email(osv.osv_memory):
sentdate = 'Date: %s' % (hist.date)
desc = '\n%s'%(hist.description)
signature = ''
if case.user_id.signature:
signature = '--\n' + case.user_id.signature