mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Fix order change form with required field
This commit is contained in:
@@ -581,6 +581,8 @@ class OrderChange(OrderView):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def _process_add(self, ocm):
|
def _process_add(self, ocm):
|
||||||
|
if 'add-do' not in self.request.POST:
|
||||||
|
return True
|
||||||
if not self.add_form.is_valid():
|
if not self.add_form.is_valid():
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user