Use correct message identifier when computing the chat email body

Closes #14780
This commit is contained in:
Korbinian Preisler committed 2026-04-16 18:09:30 +02:00
1 parent ee6ec419a7
commit f2ceae17f3
1 file changed
+2 -2
+2 -2
View File
@@ -72,5 +72,5 @@ class Channel(metaclass=PoolMeta):
@classmethod
def _email_body(cls, message):
with Transaction().set_context(language=message.channel.language):
above_msg = gettext('ir.msg_reply_above')
return f'{REPLY_LINE}\n{above_msg.text}\n\n{message.content}'
above_msg = gettext('inbound_email.msg_reply_above')
return f'{REPLY_LINE}\n{above_msg}\n\n{message.content}'