[FIX] mail: remove comma

The email content was a tuple instead of a proper string.
Introduced at 0028c421

Fixes tw:jaynvora/status/834435897554710528
This commit is contained in:
Martin Trigaux
2017-02-23 14:01:02 +01:00
parent 731a21e5b4
commit 773a631a77
+1 -1
View File
@@ -898,7 +898,7 @@ class MailThread(models.AbstractModel):
<p>Hello,</p>
<p>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.</p>
</div><blockquote>%s</blockquote>""" % (message.get('to'), message_dict.get('body')),
</div><blockquote>%s</blockquote>""" % (message.get('to'), message_dict.get('body'))
# Wrong model
if model and model not in self.env: