mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fixed that has_variations checkbox was required
This commit is contained in:
@@ -104,7 +104,8 @@ class ItemFormGeneral(I18nModelForm):
|
||||
class ItemCreateForm(ItemFormGeneral):
|
||||
has_variations = forms.BooleanField(label=_('The product should exist in multiple variations'),
|
||||
help_text=_('Select this option e.g. for t-shirts that come in multiple sizes. '
|
||||
'You can select the variations in the next step.'))
|
||||
'You can select the variations in the next step.'),
|
||||
required=False)
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
instance = super().save(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user