diff --git a/InvenTree/part/api.py b/InvenTree/part/api.py index a121553409..d24f0dc6ee 100644 --- a/InvenTree/part/api.py +++ b/InvenTree/part/api.py @@ -172,6 +172,7 @@ class PartList(generics.ListCreateAPIView): 'active', ).annotate( in_stock=Sum('stock_items__quantity'), + on_order=Sum('supplier_parts__purchase_order_line_items__quantity'), ) # TODO - Annotate total being built