2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Form for shipping a SalesOrder

- Returns "False" for now
This commit is contained in:
Oliver Walters
2020-04-24 10:20:56 +10:00
parent b45fec221c
commit 77471cb89c
13 changed files with 155 additions and 14 deletions

View File

@ -731,7 +731,7 @@ class StockItemSerialize(AjaxUpdateView):
if k in ['quantity', 'destination', 'serial_numbers']:
form.errors[k] = messages[k]
else:
form.non_field_errors = messages[k]
form.non_field_errors = [messages[k]]
valid = False