2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-08 12:50:55 +00:00

Fix variable scope issue

This commit is contained in:
Oliver Walters
2021-01-03 10:07:38 +11:00
parent 2dfa4d1acd
commit 298e9cae65
3 changed files with 9 additions and 4 deletions

View File

@@ -319,7 +319,9 @@ class EditBomItemForm(HelperForm):
]
# Prevent editing of the part associated with this BomItem
widgets = {'part': forms.HiddenInput()}
widgets = {
'part': forms.HiddenInput()
}
class PartPriceForm(forms.Form):