diff --git a/InvenTree/InvenTree/version.py b/InvenTree/InvenTree/version.py index 98957d7bba..32f359f5f2 100644 --- a/InvenTree/InvenTree/version.py +++ b/InvenTree/InvenTree/version.py @@ -12,11 +12,14 @@ import common.models INVENTREE_SW_VERSION = "0.7.0 dev" # InvenTree API version -INVENTREE_API_VERSION = 37 +INVENTREE_API_VERSION = 38 """ Increment this API version number whenever there is a significant change to the API that any clients need to know about +v38 -> 2022-04-14 : https://github.com/inventree/InvenTree/pull/2828 + - Adds the ability to include stock test results for "installed items" + v37 -> 2022-04-07 : https://github.com/inventree/InvenTree/pull/2806 - Adds extra stock availability information to the BomItem serializer diff --git a/InvenTree/stock/api.py b/InvenTree/stock/api.py index 5d41624936..15ddfd9c07 100644 --- a/InvenTree/stock/api.py +++ b/InvenTree/stock/api.py @@ -1137,7 +1137,7 @@ class StockItemTestResultList(generics.ListCreateAPIView): installed_items = item.get_installed_items(cascade=True) items += [it for it in installed_items] - + queryset = queryset.filter(stock_item__in=items) except (ValueError, StockItem.DoesNotExist):