mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-08 12:50:55 +00:00
Improved part logic
- Added field 'buildable' - can this part be made from other parts? - Added @propery 'supplier_count' - Improved part detail page with new features
This commit is contained in:
@@ -25,6 +25,7 @@ class EditPartForm(forms.ModelForm):
|
||||
'IPN',
|
||||
'URL',
|
||||
'minimum_stock',
|
||||
'buildable',
|
||||
'trackable',
|
||||
'purchaseable',
|
||||
]
|
||||
@@ -58,7 +59,7 @@ class EditBomItemForm(forms.ModelForm):
|
||||
|
||||
self.helper.form_id = 'id-edit-part-form'
|
||||
self.helper.form_method = 'post'
|
||||
|
||||
|
||||
self.helper.add_input(Submit('submit', 'Submit'))
|
||||
|
||||
class Meta:
|
||||
|
Reference in New Issue
Block a user