mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 11:10:54 +00:00
Bug fix for stock item tracking API
This commit is contained in:
@ -1018,6 +1018,9 @@ class StockTrackingList(generics.ListAPIView):
|
||||
for item in data:
|
||||
deltas = item['deltas']
|
||||
|
||||
if not deltas:
|
||||
deltas = {}
|
||||
|
||||
# Add location detail
|
||||
if 'location' in deltas:
|
||||
try:
|
||||
|
Reference in New Issue
Block a user