Bump API version number

This commit is contained in:
Oliver 2022-04-14 12:52:09 +10:00
parent dfa3bbf655
commit 688f53fdb1
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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):