From cd803640a9e6ab3299e3edd69f11ee769a1eec74 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 6 Feb 2024 23:28:06 +1100 Subject: [PATCH] Fix display of allocated stock items in build table (#6427) - Include stock_detail in BuildLine serializer by default --- InvenTree/build/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/build/serializers.py b/InvenTree/build/serializers.py index cf330760b4..64444a31bd 100644 --- a/InvenTree/build/serializers.py +++ b/InvenTree/build/serializers.py @@ -1023,7 +1023,7 @@ class BuildItemSerializer(InvenTreeModelSerializer): """Determine which extra details fields should be included""" part_detail = kwargs.pop('part_detail', True) location_detail = kwargs.pop('location_detail', True) - stock_detail = kwargs.pop('stock_detail', False) + stock_detail = kwargs.pop('stock_detail', True) build_detail = kwargs.pop('build_detail', False) super().__init__(*args, **kwargs)