From d46e879983f349765b8fe413965b5976205ffd89 Mon Sep 17 00:00:00 2001 From: "Didier (did)" Date: Thu, 7 Apr 2022 13:29:32 +0000 Subject: [PATCH] [FIX] mail: remove channel name translation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit task-2818091 closes odoo/odoo#88239 Related: odoo/upgrade#3423 Signed-off-by: Sébastien Theys (seb) --- addons/mail/models/mail_channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/models/mail_channel.py b/addons/mail/models/mail_channel.py index 79b712ca7eb..ca894276bd4 100644 --- a/addons/mail/models/mail_channel.py +++ b/addons/mail/models/mail_channel.py @@ -52,7 +52,7 @@ class Channel(models.Model): return ''.join(choice('abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ23456789') for _i in range(10)) # description - name = fields.Char('Name', required=True, translate=True) + name = fields.Char('Name', required=True) active = fields.Boolean(default=True, help="Set active to false to hide the channel without removing it.") channel_type = fields.Selection([ ('chat', 'Chat'),