Fix #1144 -- Make invoice form all-optional in backend

This commit is contained in:
Raphael Michel
2019-01-23 10:27:09 +01:00
parent 5bfb00db73
commit 9ed49888b8
2 changed files with 6 additions and 2 deletions

View File

@@ -1255,6 +1255,7 @@ class OrderModifyInformation(OrderQuestionsViewMixin, OrderView):
permission = 'can_change_orders'
template_name = 'pretixcontrol/order/change_questions.html'
only_user_visible = False
all_optional = True
def post(self, request, *args, **kwargs):
failed = not self.save() or not self.invoice_form.is_valid()