2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 11:05:41 +00:00

Initial work toward fixing stock issues

This commit is contained in:
Oliver Walters
2019-05-29 01:03:21 +10:00
parent d512232aac
commit 6a30485a4e
2 changed files with 14 additions and 4 deletions

View File

@ -278,13 +278,15 @@ class StockList(generics.ListCreateAPIView):
'notes',
'location',
'location__name',
'location__description',
'part',
'part__IPN',
'part__name',
'part__description',
'part__image',
'part__category',
'part__category__name'
'part__category__name',
'part__category__description',
)
# Reduce the number of lookups we need to do for categories