mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 02:11:16 +00:00
Use existing serializers to encode information for barcode response
This commit is contained in:
1 parent
d19e287cb5
commit
10ee8bc666
3 files changed
+34
-11
No files matched your search
@@ -96,6 +96,8 @@ class PartSerializer(InvenTreeModelSerializer):
|
||||
queryset = queryset.prefetch_related('builds')
|
||||
return queryset
|
||||
|
||||
# TODO - Include a 'category_detail' field which serializers the category object
|
||||
|
||||
class Meta:
|
||||
model = Part
|
||||
partial = True
|
||||
|
||||
Reference in new issue
Block a user