[IMP] crm: another encoding issue fixed in crm + cleanup

bzr revid: odo@openerp.com-20100630112527-1vf0fciy34vuw8o8
This commit is contained in:
Olivier Dony
2010-06-30 13:25:27 +02:00
parent 3a1800eba8
commit dfd29b154e
+1 -1
View File
@@ -174,7 +174,7 @@ class crm_send_new_email(osv.osv_memory):
if 'email_from' in fields:
res.update({'email_from': user_mail_from})
if 'subject' in fields:
res.update({'subject': ustr(context.get('subject', case.name) or '')})
res.update({'subject': tools.ustr(context.get('subject', case.name) or '')})
if 'email_cc' in fields:
res.update({'email_cc': case.email_cc or ''})
if 'text' in fields: