Fix order change form with required field

This commit is contained in:
Raphael Michel
2018-05-31 12:55:40 +02:00
parent 48b969f3c3
commit 3030c300f2

View File

@@ -581,6 +581,8 @@ class OrderChange(OrderView):
return True
def _process_add(self, ocm):
if 'add-do' not in self.request.POST:
return True
if not self.add_form.is_valid():
return False
else: