mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-08 12:50:55 +00:00
Add a 'confirm_creation' input if there are possible part matches
This commit is contained in:
@@ -60,9 +60,12 @@ class EditPartAttachmentForm(HelperForm):
|
||||
class EditPartForm(HelperForm):
|
||||
""" Form for editing a Part object """
|
||||
|
||||
confirm_creation = forms.BooleanField(required=False, initial=False, help_text='Confirm part creation', widget=forms.HiddenInput())
|
||||
|
||||
class Meta:
|
||||
model = Part
|
||||
fields = [
|
||||
'confirm_creation',
|
||||
'category',
|
||||
'name',
|
||||
'variant',
|
||||
|
Reference in New Issue
Block a user