summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2017-10-20 14:22:41 +0200
committerOlivier Dony <odo@openerp.com>2017-10-20 14:23:38 +0200
commit78dcbdee6e3842dcfd9488fcd926fe2bd9ca6017 (patch)
tree5e42fc0fc11465a91ccb99cd9e3fcc8881430b12
parent2455350c40df86266eabd614ceab451159d67be3 (diff)
[FIX] mail: correct typo in e5e549a4cf12e62fc72c846dc32828182fae37e6
-rw-r--r--addons/mail/models/mail_channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/models/mail_channel.py b/addons/mail/models/mail_channel.py
index 6012dc9c22b..cd57fc38bf8 100644
--- a/addons/mail/models/mail_channel.py
+++ b/addons/mail/models/mail_channel.py
@@ -251,7 +251,7 @@ class Channel(models.Model):
author = self.env['res.partner'].browse(message_dict.get('author_id', False))
if not author or author not in self.channel_partner_ids:
return {
- 'error_mesage': _('restricted to channel members'),
+ 'error_message': _('restricted to channel members'),
}
return True
return super(Channel, self)._alias_check_contact(message, message_dict, alias)