2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Cleanup errors in unit testing

This commit is contained in:
Oliver Walters
2020-09-28 22:08:38 +10:00
parent ae55c81dae
commit d348d90fbe
2 changed files with 4 additions and 3 deletions

View File

@ -1273,7 +1273,7 @@ class POLineItemEdit(AjaxUpdateView):
form = super().get_form()
# Prevent user from editing order once line item is assigned
form.fields.pop('order')
form.fields['order'].widget = HiddenInput()
return form