[FIX] crm: Declare the signature variable
authorStephane Wirtel <stephane@openerp.com>
Tue, 11 May 2010 16:54:16 +0000 (18:54 +0200)
committerStephane Wirtel <stephane@openerp.com>
Tue, 11 May 2010 16:54:16 +0000 (18:54 +0200)
bzr revid: stephane@openerp.com-20100511165416-vmilmnn9zws8dxrd

addons/crm/wizard/crm_send_email.py

index b31a08e..a3a86d4 100644 (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