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

Add generic method for retriving GET or POST params

This commit is contained in:
Oliver Walters
2019-04-28 09:53:42 +10:00
parent e5fc43a00f
commit cd438f0569
3 changed files with 31 additions and 9 deletions

View File

@@ -92,6 +92,8 @@ class EditBomItemForm(HelperForm):
'quantity',
'note'
]
# Prevent editing of the part associated with this BomItem
widgets = {'part': forms.HiddenInput()}