mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fixes
This commit is contained in:
parent
87411293cf
commit
05333e7e7d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user