2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-20 02:15:53 +00:00

Add ability to display "out of stock" items against a part

This commit is contained in:
Oliver Walters
2020-06-22 10:48:41 +10:00
parent 16bea33695
commit 930f903f5d
7 changed files with 15 additions and 14 deletions

View File

@@ -71,6 +71,7 @@ class StockItemSerializer(InvenTreeModelSerializer):
'belongs_to',
'build',
'build_order',
'customer',
'sales_order',
'supplier_part',
'supplier_part__supplier',
@@ -141,6 +142,7 @@ class StockItemSerializer(InvenTreeModelSerializer):
'batch',
'build_order',
'belongs_to',
'customer',
'in_stock',
'link',
'location',