mirror of
https://github.com/pretix/pretix.git
synced 2026-05-14 16:44:06 +00:00
Fix orderlist export if orders with invalid payment provider identifiers exist (Z#23233440)
This commit is contained in:
@@ -160,7 +160,7 @@ class OrderListExporter(MultiSheetListExporter):
|
||||
|
||||
def _get_all_payment_methods(self, qs):
|
||||
pps = dict(get_all_payment_providers())
|
||||
return sorted([(pp, pps[pp]) for pp in set(
|
||||
return sorted([(pp, pps.get(pp, pp)) for pp in set(
|
||||
OrderPayment.objects.exclude(provider='free').filter(order__event__in=self.events).values_list(
|
||||
'provider', flat=True
|
||||
).distinct()
|
||||
|
||||
Reference in New Issue
Block a user