From dfd29b154e1f0e158b026c9bda325a0418351869 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 30 Jun 2010 13:25:27 +0200 Subject: [PATCH] [IMP] crm: another encoding issue fixed in crm + cleanup bzr revid: odo@openerp.com-20100630112527-1vf0fciy34vuw8o8 --- addons/crm/wizard/crm_send_email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/wizard/crm_send_email.py b/addons/crm/wizard/crm_send_email.py index bf0390cc2ef..01e14375d89 100644 --- a/addons/crm/wizard/crm_send_email.py +++ b/addons/crm/wizard/crm_send_email.py @@ -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: