From 776f35d566a821bdb207488ee9ae32152767d4f2 Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Tue, 9 Jan 2024 20:23:54 +0100 Subject: [PATCH] [FIX] mail_quoted_reply: Use standard paragraph element to enter text Without this, it is not possible to do a copy paste of a block of text into the mail composer. --- mail_quoted_reply/models/mail_message.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/mail_quoted_reply/models/mail_message.py b/mail_quoted_reply/models/mail_message.py index 06715ef71..f9e72e0ec 100644 --- a/mail_quoted_reply/models/mail_message.py +++ b/mail_quoted_reply/models/mail_message.py @@ -10,12 +10,13 @@ class MailMessage(models.Model): def _prep_quoted_reply_body(self): return """ -
-
-
- {signature} -
-
+
+

+
+

+ {signature} +
+
{str_from}: {email_from}
@@ -23,6 +24,7 @@ class MailMessage(models.Model): {str_subject}: {subject}
{body}
+
""".format( email_from=self.email_from, date=format_datetime(self.env, self.date),