mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Try to fix invoice export
This commit is contained in:
@@ -27,7 +27,7 @@ class InvoiceExporter(BaseExporter):
|
||||
qs = qs.annotate(
|
||||
has_payment_with_provider=Exists(
|
||||
OrderPayment.objects.filter(
|
||||
Q(order=OuterRef('pk')) & Q(provider=form_data.get('payment_provider'))
|
||||
Q(order=OuterRef('order_id')) & Q(provider=form_data.get('payment_provider'))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user