diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py index 1edbd7f6275..9589bab1278 100644 --- a/addons/mail/models/mail_thread.py +++ b/addons/mail/models/mail_thread.py @@ -898,7 +898,7 @@ class MailThread(models.AbstractModel):
Hello,
The following email sent to %s cannot be accepted because this is a private email address. Only allowed people can contact us at this address.
-%s""" % (message.get('to'), message_dict.get('body')), +
%s""" % (message.get('to'), message_dict.get('body')) # Wrong model if model and model not in self.env: