2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-09 20:21:24 +00:00

PEP style fixes

This commit is contained in:
Oliver Walters
2020-04-21 22:37:35 +10:00
parent b75c343236
commit 09ccd6c5e2
4 changed files with 5 additions and 6 deletions

View File

@@ -358,8 +358,6 @@ class SalesOrderEdit(AjaxUpdateView):
def get_form(self):
form = super().get_form()
order = self.get_object()
# Prevent user from editing customer
form.fields['customer'].widget = HiddenInput()