From 6c7752f13d9c78935aabd492e17e6fcce78bf263 Mon Sep 17 00:00:00 2001 From: Francois Poizat Date: Fri, 28 Nov 2025 17:46:39 +0100 Subject: [PATCH] [IMP] Copy mail body to chatter --- .../wizard/overdue_reminder_wizard.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/account_invoice_overdue_reminder/wizard/overdue_reminder_wizard.py b/account_invoice_overdue_reminder/wizard/overdue_reminder_wizard.py index 51d26b024..579d62856 100644 --- a/account_invoice_overdue_reminder/wizard/overdue_reminder_wizard.py +++ b/account_invoice_overdue_reminder/wizard/overdue_reminder_wizard.py @@ -628,10 +628,8 @@ def _prepare_overdue_reminder_action(self, vals): body=Markup( _( "Overdue reminder sent by mail: " - "%(mail_subject)s.", - mail_id=vals["mail_id"], - mail_subject=self.mail_subject, + "%(mail_body)s", + mail_body=str(self.mail_body), ) ) )