From 3bf990d0b0469c7c314905dc06bddeaaf9556a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Theys?= Date: Thu, 2 Nov 2023 20:52:51 +0100 Subject: [PATCH] [FIX] mail: allow translating self authored messages This is an arbitrary restriction and it is confusing to not always find the button. Part-of: odoo/odoo#140847 --- addons/mail/static/src/core/common/message.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/mail/static/src/core/common/message.js b/addons/mail/static/src/core/common/message.js index ad774c7808f..0b0d53e06ce 100644 --- a/addons/mail/static/src/core/common/message.js +++ b/addons/mail/static/src/core/common/message.js @@ -301,11 +301,7 @@ export class Message extends Component { } get translatable() { - return ( - this.store.hasMessageTranslationFeature && - this.env.inChatter && - !this.message.isSelfAuthored - ); + return this.store.hasMessageTranslationFeature && this.env.inChatter; } get translatedFromText() {