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

Add View/Form for creating a new PartParameterTemplate

This commit is contained in:
Oliver Walters
2019-08-20 14:33:18 +10:00
parent 15a42878db
commit 307a04da58
4 changed files with 30 additions and 1 deletions

View File

@@ -99,6 +99,17 @@ class EditPartForm(HelperForm):
]
class EditPartParameterTemplateForm(HelperForm):
""" Form for editing a PartParameterTemplate object """
class Meta:
model = PartParameterTemplate
fields = [
'name',
'units'
]
class EditPartParameterForm(HelperForm):
""" Form for editing a PartParameter object """