details: https://code.tryton.org/tryton/commit/75fc1c55fc45
branch: default
user: Korbinian Preisler <[email protected]>
date: Thu Apr 16 18:09:30 2026 +0200
description:
Use correct message identifier when computing the chat email body
Closes #14780
diffstat:
modules/inbound_email/ir.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (11 lines):
diff -r 9e0a83850cde -r 75fc1c55fc45 modules/inbound_email/ir.py
--- a/modules/inbound_email/ir.py Thu Apr 16 23:33:34 2026 +0200
+++ b/modules/inbound_email/ir.py Thu Apr 16 18:09:30 2026 +0200
@@ -72,5 +72,5 @@
@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}'