mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Self-service order change: Don't create invoice too early
This commit is contained in:
@@ -1420,7 +1420,7 @@ class OrderChange(EventViewMixin, OrderDetailMixin, TemplateView):
|
||||
self.order,
|
||||
user=self.request.user,
|
||||
notify=True,
|
||||
reissue_invoice=True,
|
||||
reissue_invoice=self.order.invoices.exists() or self.request.event.settings.get('invoice_generate') == 'True',
|
||||
)
|
||||
|
||||
form_valid = True
|
||||
|
||||
Reference in New Issue
Block a user