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

This commit is contained in:
Raphael Michel
2026-03-09 18:26:54 +01:00
committed by GitHub
parent eef1560ede
commit 547910beec

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 "",