From 136511f394a34a57de365cf435a1de6bdc8bd796 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 14 Mar 2023 21:46:31 +0100 Subject: [PATCH] Order.send_email: Support for attach_cached_files --- src/pretix/base/models/orders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/base/models/orders.py b/src/pretix/base/models/orders.py index 3d2e253f69..c2f2062fa6 100644 --- a/src/pretix/base/models/orders.py +++ b/src/pretix/base/models/orders.py @@ -985,7 +985,7 @@ class Order(LockModel, LoggedModel): context: Dict[str, Any]=None, log_entry_type: str='pretix.event.order.email.sent', user: User=None, headers: dict=None, sender: str=None, invoices: list=None, auth=None, attach_tickets=False, position: 'OrderPosition'=None, auto_email=True, - attach_ical=False, attach_other_files: list=None): + attach_ical=False, attach_cached_files: list=None, attach_other_files: list=None): """ Sends an email to the user that placed this order. Basically, this method does two things: @@ -1030,7 +1030,7 @@ class Order(LockModel, LoggedModel): self.event, self.locale, self, headers=headers, sender=sender, invoices=invoices, attach_tickets=attach_tickets, position=position, auto_email=auto_email, attach_ical=attach_ical, - attach_other_files=attach_other_files, + attach_other_files=attach_other_files, attach_cached_files=attach_cached_files, ) except SendMailException: raise