2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

PEP fixes

This commit is contained in:
Oliver Walters
2019-04-28 23:58:14 +10:00
parent 87411293cf
commit 05333e7e7d

View File

@ -98,7 +98,6 @@ class PartCreate(AjaxCreateView):
form = super(AjaxCreateView, self).get_form() form = super(AjaxCreateView, self).get_form()
# Hide the default_supplier field (there are no matching supplier parts yet!) # Hide the default_supplier field (there are no matching supplier parts yet!)
#form.fields['default_supplier'].widget.attrs['hidden'] = True
del form.fields['default_supplier'] del form.fields['default_supplier']
return form return form
@ -196,7 +195,6 @@ class PartEdit(AjaxUpdateView):
return form return form
class BomExport(AjaxView): class BomExport(AjaxView):
model = Part model = Part