mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44: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,
|
self.order,
|
||||||
user=self.request.user,
|
user=self.request.user,
|
||||||
notify=True,
|
notify=True,
|
||||||
reissue_invoice=True,
|
reissue_invoice=self.order.invoices.exists() or self.request.event.settings.get('invoice_generate') == 'True',
|
||||||
)
|
)
|
||||||
|
|
||||||
form_valid = True
|
form_valid = True
|
||||||
|
|||||||
Reference in New Issue
Block a user