diff options
| author | Harry (Open ERP) <hmo@tinyerp.com> | 2010-02-15 13:55:47 +0530 |
|---|---|---|
| committer | Harry (Open ERP) <hmo@tinyerp.com> | 2010-02-15 13:55:47 +0530 |
| commit | eeff1edbcb7c53f8f8f4d79bcd3d3694615f3e72 (patch) | |
| tree | 1b1d02f1ac6bfea11525bcf3ccfc9ce58406c6bd | |
| parent | 01e44800053ad6140984b4ee488b10517e9754e6 (diff) | |
[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
| -rw-r--r-- | addons/crm/crm.py | 4 |
1 files 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 = { |
