projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f809c
)
[FIX] backport of branch trunk-bug-937194-nco (mail: remove character from...
author
Raphael Collet
<rco@openerp.com>
Tue, 20 Mar 2012 08:20:59 +0000
(09:20 +0100)
committer
Raphael Collet
<rco@openerp.com>
Tue, 20 Mar 2012 08:20:59 +0000
(09:20 +0100)
bzr revid: rco@openerp.com-
20120320082059
-w3zm7pyicbb79inh
addons/mail/mail_message.py
patch
|
blob
|
history
diff --git
a/addons/mail/mail_message.py
b/addons/mail/mail_message.py
index
0c43644
..
24c91fa
100644
(file)
--- a/
addons/mail/mail_message.py
+++ b/
addons/mail/mail_message.py
@@
-445,6
+445,7
@@
class mail_message(osv.osv):
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'):