From a68e7fe9eb236bdc604ac7f7dfc2b9651ebf2a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 16 Apr 2013 17:38:09 +0200 Subject: [PATCH] [FIX] mail_thread: message_process: fixed body of bounced emails. bzr revid: tde@openerp.com-20130416153809-d5xbjqw6i7l7x4av --- addons/mail/mail_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index f143b71dd83..05354287284 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -618,7 +618,7 @@ class mail_thread(osv.AbstractModel): 'body_html': '

Hello,

' '

The following email sent to %s cannot be accepted because this address' 'is private. Only known contacts are allowed to contact this address.

' - '
%s
' % (message.get('to'), message.get('body')), + '
%s
' % (message.get('to'), message_dict.get('body')), 'subject': 'Re: %s' % message.get('subject'), 'email_to': message.get('from'), 'auto_delete': True,