mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-16 01:08:12 +00:00
Flakey
Fixing python style errors
This commit is contained in:
@@ -14,7 +14,6 @@ class EditStockLocationForm(forms.ModelForm):
|
||||
self.helper.form_id = 'id-edit-part-form'
|
||||
self.helper.form_class = 'blueForms'
|
||||
self.helper.form_method = 'post'
|
||||
#self.helper.form_action = 'submit'
|
||||
|
||||
self.helper.add_input(Submit('submit', 'Submit'))
|
||||
|
||||
@@ -36,11 +35,9 @@ class EditStockItemForm(forms.ModelForm):
|
||||
self.helper.form_id = 'id-edit-part-form'
|
||||
self.helper.form_class = 'blueForms'
|
||||
self.helper.form_method = 'post'
|
||||
#self.helper.form_action = 'submit'
|
||||
|
||||
self.helper.add_input(Submit('submit', 'Submit'))
|
||||
|
||||
|
||||
class Meta:
|
||||
model = StockItem
|
||||
fields = [
|
||||
@@ -49,4 +46,4 @@ class EditStockItemForm(forms.ModelForm):
|
||||
'location',
|
||||
'quantity',
|
||||
'status'
|
||||
]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user