Support structural part categories (#3931)

* Support structural part categories

Structural categories cannot have parts assigned (only sub-categories)

Fixed #3897

* Fixed unit test

* Fix Oliver's review comments
This commit is contained in:
Miklós Márton
2022-11-18 08:10:06 +11:00
committed by GitHub
parent 1e1662ef0f
commit 73c1c50d01
8 changed files with 112 additions and 4 deletions
+1
View File
@@ -75,6 +75,7 @@ class CategorySerializer(InvenTreeModelSerializer):
'pathstring',
'starred',
'url',
'structural',
'icon',
]