Nimesh Contractor(Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-937194-nco into
lp:openobject-addons.
Requested reviews:
Raphael Collet (OpenERP) (rco-openerp)
Related bugs:
Bug #937194 in OpenERP Addons: "mail body shows "
https://bugs.launchpad.net/openobject-addons/+bug/937194
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-937194-nco/+merge/94316
Hello,
As per your suggestion,
I have remove the unused character form the message body which is
generated while converting message from html2plaintext.
Thanks,
NCO.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-937194-nco/+merge/94316
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-937194-nco.
=== modified file 'mail/mail_message.py'
--- mail/mail_message.py 2012-02-22 15:32:20 +0000
+++ mail/mail_message.py 2012-02-23 05:43:23 +0000
@@ -443,6 +443,7 @@
msg['body_html'] = content
msg['subtype'] = 'html' # html version prevails
body = tools.ustr(tools.html2plaintext(content))
+ body = body.replace(' ', '')
elif part.get_content_subtype() == 'plain':
body = content
elif part.get_content_maintype() in ('application', 'image'):
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp