mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-14 12:32:44 +00:00
Fix serializer for stock item
This commit is contained in:
1 parent
002b896384
commit
78990a99e5
3 files changed
+4
-4
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user