From d1a86c6805aa84ec83299e4e228473dd8767bdc3 Mon Sep 17 00:00:00 2001 From: Anjeel Haria Date: Tue, 17 Dec 2024 14:59:46 +0530 Subject: [PATCH] [FIX] subscription_oca: replace mail_notification_paynow layout with mail_notification_layout_with_responsible_signature pre-commit fix --- subscription_oca/models/sale_subscription.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subscription_oca/models/sale_subscription.py b/subscription_oca/models/sale_subscription.py index 6845706840..f38b1dbb60 100644 --- a/subscription_oca/models/sale_subscription.py +++ b/subscription_oca/models/sale_subscription.py @@ -325,7 +325,8 @@ def generate_invoice(self): invoice.with_context(force_send=True).message_post_with_template( mail_template.id, composition_mode="comment", - email_layout_xmlid="mail.mail_notification_paynow", + email_layout_xmlid="mail." + "mail_notification_layout_with_responsible_signature", ) invoice_number = invoice.name message_body = (