mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 02:25:38 +00:00
Use existing serializers to encode information for barcode response
This commit is contained in:
@ -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