mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 02:55:41 +00:00
PEP fixes
This commit is contained in:
@ -98,7 +98,6 @@ class PartCreate(AjaxCreateView):
|
||||
form = super(AjaxCreateView, self).get_form()
|
||||
|
||||
# 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']
|
||||
|
||||
return form
|
||||
@ -196,7 +195,6 @@ class PartEdit(AjaxUpdateView):
|
||||
return form
|
||||
|
||||
|
||||
|
||||
class BomExport(AjaxView):
|
||||
|
||||
model = Part
|
||||
|
Reference in New Issue
Block a user