[FIX] im_livechat: do not rename module description
mail.channel module in mail module has the description "Discussion Channel" (with a capital C) and was overriden in im_livechat to "Discussion channel" (with a lowercase c). Installing a module was renaming a field (which is never a good idea, especially for translated fields) closes odoo/odoo#32238 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
@@ -29,6 +29,6 @@ msgstr ""
|
||||
|
||||
#. module: crm_livechat
|
||||
#: model:ir.model,name:crm_livechat.model_mail_channel
|
||||
msgid "Discussion channel"
|
||||
msgid "Discussion Channel"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -436,7 +436,7 @@ msgstr ""
|
||||
|
||||
#. module: hr
|
||||
#: model:ir.model,name:hr.model_mail_channel
|
||||
msgid "Discussion channel"
|
||||
msgid "Discussion Channel"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
||||
@@ -295,7 +295,7 @@ msgstr ""
|
||||
|
||||
#. module: im_livechat
|
||||
#: model:ir.model,name:im_livechat.model_mail_channel
|
||||
msgid "Discussion channel"
|
||||
msgid "Discussion Channel"
|
||||
msgstr ""
|
||||
|
||||
#. module: im_livechat
|
||||
|
||||
@@ -30,7 +30,6 @@ class MailChannel(models.Model):
|
||||
|
||||
_name = 'mail.channel'
|
||||
_inherit = ['mail.channel', 'rating.mixin']
|
||||
_description = 'Discussion channel'
|
||||
|
||||
anonymous_name = fields.Char('Anonymous Name')
|
||||
channel_type = fields.Selection(selection_add=[('livechat', 'Livechat Conversation')])
|
||||
|
||||
@@ -33,7 +33,7 @@ msgstr ""
|
||||
|
||||
#. module: mail_bot
|
||||
#: model:ir.model,name:mail_bot.model_mail_channel
|
||||
msgid "Discussion channel"
|
||||
msgid "Discussion Channel"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail_bot
|
||||
|
||||
@@ -319,7 +319,7 @@ msgstr ""
|
||||
|
||||
#. module: website_mail_channel
|
||||
#: model:ir.model,name:website_mail_channel.model_mail_channel
|
||||
msgid "Discussion channel"
|
||||
msgid "Discussion Channel"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_mail_channel
|
||||
|
||||
Reference in New Issue
Block a user