mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Supporting invoice-on-demand instead of autogeneration
This commit is contained in:
@@ -283,7 +283,7 @@ def _perform_order(event: str, payment_provider: str, position_ids: List[str],
|
||||
except InvoiceAddress.DoesNotExist:
|
||||
pass
|
||||
|
||||
if event.settings.get('invoice_generate'):
|
||||
if event.settings.get('invoice_generate') == 'True':
|
||||
generate_invoice(order)
|
||||
|
||||
with language(order.locale):
|
||||
|
||||
Reference in New Issue
Block a user