Voucher import: Allow empty subevent (Z#23171356) (#4622)

This commit is contained in:
Raphael Michel
2024-11-13 12:00:48 +01:00
committed by GitHub
parent 6e6d6b2746
commit 9583a50c4e

View File

@@ -256,6 +256,9 @@ class SubeventColumnMixin:
]
def clean(self, value, previous_values):
if not value:
return None
if value in self._subevent_cache:
return self._subevent_cache[value]