From 23bd6acc947b531e72a2684de7f75087b7f9a307 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 3 Jul 2021 00:18:41 +0200 Subject: [PATCH] changed doc string --- InvenTree/part/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/part/api.py b/InvenTree/part/api.py index b84ef27af1..8415e56ba9 100644 --- a/InvenTree/part/api.py +++ b/InvenTree/part/api.py @@ -651,7 +651,7 @@ class PartList(generics.ListCreateAPIView): # Filter items which have an 'in_stock' level higher than 'minimum_stock' queryset = queryset.filter(Q(in_stock__gte=F('minimum_stock'))) - # If we are filtering by 'depleted_stock' status + # Filer by 'depleted_stock' status -> has no stock and stock items depleted_stock = params.get('depleted_stock', None) if depleted_stock is not None: