forked from CGM_Public/pretix_original
Fix bug editing addon products
This commit is contained in:
@@ -405,7 +405,7 @@ class ItemAddOnsFormSet(I18nFormSet):
|
|||||||
|
|
||||||
def clean(self):
|
def clean(self):
|
||||||
super().clean()
|
super().clean()
|
||||||
categories = set(self.queryset.values_list('addon_category_id', flat=True))
|
categories = set()
|
||||||
for i in range(0, self.total_form_count()):
|
for i in range(0, self.total_form_count()):
|
||||||
form = self.forms[i]
|
form = self.forms[i]
|
||||||
if self.can_delete:
|
if self.can_delete:
|
||||||
|
|||||||
Reference in New Issue
Block a user