summaryrefslogtreecommitdiff
path: root/addons/mail/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/controllers')
-rw-r--r--addons/mail/controllers/bus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/controllers/bus.py b/addons/mail/controllers/bus.py
index cecf83eb1b7..81f1700987d 100644
--- a/addons/mail/controllers/bus.py
+++ b/addons/mail/controllers/bus.py
@@ -47,7 +47,7 @@ class MailChatController(BusController):
email_from = author.email_formatted
else: # If Public User, use catchall email from company
author_id = False
- email_from = mail_channel.anonymous_name or mail_channel.create_uid.company_id.catchall
+ email_from = mail_channel.anonymous_name or mail_channel.create_uid.company_id.catchall_formatted
# post a message without adding followers to the channel. email_from=False avoid to get author from email data
body = tools.plaintext2html(message_content)
message = mail_channel.with_context(mail_create_nosubscribe=True).message_post(author_id=author_id,