From eeff1edbcb7c53f8f8f4d79bcd3d3694615f3e72 Mon Sep 17 00:00:00 2001 From: "Harry (Open ERP)" Date: Mon, 15 Feb 2010 13:55:47 +0530 Subject: [PATCH] [FIX] crm: In format body, do not replace specific char lp bug: https://launchpad.net/bugs/521830 fixed bzr revid: hmo@tinyerp.com-20100215082547-80kxpzy7nmzy5zgf --- addons/crm/crm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 684547e0410..a0509e35c12 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -564,8 +564,8 @@ class crm_case(osv.osv): level -= 1 return True - def format_body(self, body): - return body and tools.ustr(body.encode('ascii', 'replace')) or '' + def format_body(self, body): + return body and tools.ustr(body) or '' def format_mail(self, case, body): data = {