Compare commits

...

1 Commits

Author SHA1 Message Date
Raphael Michel
364f41107f Event creation: Do not declare tax rate as optional (fixes #4794) 2025-11-14 18:41:24 +01:00

View File

@@ -208,6 +208,7 @@ class EventWizardBasicsForm(I18nModelForm):
'Sample Conference Center\nHeidelberg, Germany'
)
self.fields['slug'].widget.prefix = build_absolute_uri(self.organizer, 'presale:organizer.index')
self.fields['tax_rate']._required = True # Do not render as optional because it is conditionally required
if self.has_subevents:
del self.fields['presale_start']
del self.fields['presale_end']