[FIX] mail_thread: message_process: fixed body of bounced emails.

bzr revid: tde@openerp.com-20130416153809-d5xbjqw6i7l7x4av
This commit is contained in:
Thibault Delavallée
2013-04-16 17:38:09 +02:00
parent a91274c18c
commit a68e7fe9eb
+1 -1
View File
@@ -618,7 +618,7 @@ class mail_thread(osv.AbstractModel):
'body_html': '<div><p>Hello,</p>'
'<p>The following email sent to %s cannot be accepted because this address'
'is private. Only known contacts are allowed to contact this address.</p></div>'
'<blockquote>%s</blockquote>' % (message.get('to'), message.get('body')),
'<blockquote>%s</blockquote>' % (message.get('to'), message_dict.get('body')),
'subject': 'Re: %s' % message.get('subject'),
'email_to': message.get('from'),
'auto_delete': True,