mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-09 03:36:26 +00:00
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:
1 parent
1e1662ef0f
commit
73c1c50d01
8 files changed
+112
-4
No files matched your search
@@ -702,7 +702,7 @@ class BuildAllocationItemSerializer(serializers.Serializer):
|
||||
]
|
||||
|
||||
def validate(self, data):
|
||||
"""Perfofrm data validation for this item"""
|
||||
"""Perform data validation for this item"""
|
||||
super().validate(data)
|
||||
|
||||
build = self.context['build']
|
||||
|
||||
Reference in new issue
Block a user