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:
f5688cd
)
[FIX] email_template: when generating body containing the user's signature, add it...
author
Thibault Delavallée
<tde@openerp.com>
Thu, 7 Aug 2014 12:34:58 +0000
(14:34 +0200)
committer
Thibault Delavallée
<tde@openerp.com>
Thu, 7 Aug 2014 14:47:59 +0000
(16:47 +0200)
addons/email_template/email_template.py
patch
|
blob
|
history
diff --git
a/addons/email_template/email_template.py
b/addons/email_template/email_template.py
index
f43beef
..
8f59f14
100644
(file)
--- a/
addons/email_template/email_template.py
+++ b/
addons/email_template/email_template.py
@@
-460,7
+460,7
@@
class email_template(osv.osv):
# body: add user signature, sanitize
if 'body_html' in fields and template.user_signature:
signature = self.pool.get('res.users').browse(cr, uid, uid, context).signature
- values['body_html'] = tools.append_content_to_html(values['body_html'], signature)
+ values['body_html'] = tools.append_content_to_html(values['body_html'], signature, plaintext=False)
if values.get('body_html'):
values['body'] = tools.html_sanitize(values['body_html'])
# technical settings