Voucher CSV download: Do not output "any product" (Z#23224795)

This commit is contained in:
Raphael Michel
2026-03-09 17:48:49 +01:00
parent 5099fa16e0
commit aa2d202e07

View File

@@ -131,7 +131,7 @@ class VoucherList(PaginationMixin, EventPermissionRequiredMixin, ListView):
elif v.quota:
prod = _('Any product in quota "{quota}"').format(quota=str(v.quota.name))
else:
prod = _('Any product')
prod = ""
row = [
v.code,
v.valid_until.isoformat() if v.valid_until else "",