fix
This commit is contained in:
@@ -34,6 +34,7 @@ class InventoryListApiView(generics.GenericAPIView):
|
||||
inventories = inventories.filter(project_folder__in=project_folder_ids)
|
||||
if project_ids:
|
||||
inventories = inventories.filter(project__in=project_ids)
|
||||
if product_exists:
|
||||
if product_exists.lower() == 'true':
|
||||
inventories = inventories.exclude(quantity__lte=0)
|
||||
elif product_exists.lower() == 'false':
|
||||
|
||||
Reference in New Issue
Block a user