Skip to content
Snippets Groups Projects
Verified Commit 9f59af04 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'master' into reformat-lint

parents a26ce44a f8c71f78
No related branches found
No related tags found
1 merge request!48Reformat
......@@ -26,5 +26,5 @@ def email_invoice(tokens: Union[list[str], str]):
from_email=invoice.group.client.email,
recipient_list=invoice.get_billing_email_recipients(),
context=context,
attachments=[(invoice_pdf.file.name, invoice_pdf.file.read(), "application/pdf")],
attachments=[(f"{invoice.number}.pdf", invoice_pdf.file.read(), "application/pdf")],
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment