Skip to content

Commit

Permalink
[REF] l10n_pt_account_invoicexpress: fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dreispt committed Nov 16, 2023
1 parent 9d7bfc4 commit c5b6e3a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions l10n_pt_account_invoicexpress/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,11 @@ def action_send_invoicexpress_email(self, ignore_no_config=False):
if payload:
InvoiceXpress.call(invoice.company_id, endpoint, "PUT", payload=payload)
msg = _(
"Email sent by InvoiceXpress:<ul><li>To: {}</li><li>Cc: {}</li></ul>"
"Email sent by InvoiceXpress:<ul><li>To: "
"%(email)s</li><li>Cc: %(cc)s</li></ul>"
).format(
payload["message"]["client"]["email"],
payload["message"]["cc"] or _("None"),
email=payload["message"]["client"]["email"],
cc=payload["message"]["cc"] or _("None"),
)
invoice.message_post(body=msg)

Expand Down

0 comments on commit c5b6e3a

Please sign in to comment.