[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
This commit is contained in:
Harry (Open ERP) 2010-02-15 13:55:47 +05:30
parent 01e4480005
commit eeff1edbcb
1 changed files with 2 additions and 2 deletions

View File

@ -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 = {