Skip to content

Commit

Permalink
[FIX] subscription_oca: replace mail_notification_paynow layout with …
Browse files Browse the repository at this point in the history
…mail_notification_layout_with_responsible_signature

pre-commit fix
  • Loading branch information
ByteMeAsap committed Dec 17, 2024
1 parent 5d5ab04 commit d1a86c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion subscription_oca/models/sale_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down

0 comments on commit d1a86c6

Please sign in to comment.