2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Fix serializer for stock item

This commit is contained in:
Oliver Walters
2020-05-26 23:01:30 +10:00
parent 002b896384
commit 78990a99e5
3 changed files with 4 additions and 4 deletions

View File

@ -74,6 +74,6 @@ class BarcodePlugin(plugin.InvenTreePlugin):
Use the existing serializer to do this
"""
serializer = StockItemSerializer(item, part_detail=True, location_detail=True, supplier_detail=True)
serializer = StockItemSerializer(item, part_detail=True, location_detail=True, supplier_part_detail=True)
return serializer.data