mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-08 12:50:55 +00:00
Merge pull request #1124 from eeintech/fix_nocategory_templates_error
Check that category was selected before fetching templates
This commit is contained in:
@@ -213,6 +213,7 @@ class EditPartForm(HelperForm):
|
||||
class Meta:
|
||||
model = Part
|
||||
fields = [
|
||||
'confirm_creation',
|
||||
'category',
|
||||
'selected_category_templates',
|
||||
'parent_category_templates',
|
||||
@@ -222,7 +223,6 @@ class EditPartForm(HelperForm):
|
||||
'revision',
|
||||
'bom_copy',
|
||||
'parameters_copy',
|
||||
'confirm_creation',
|
||||
'keywords',
|
||||
'variant_of',
|
||||
'link',
|
||||
|
Reference in New Issue
Block a user