From e5e18f3711f85a876647bec529137324c41ba7cd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 00:07:53 +1100 Subject: [PATCH] Fix display of allocated stock items in build table (#6427) (#6429) - Include stock_detail in BuildLine serializer by default (cherry picked from commit cd803640a9e6ab3299e3edd69f11ee769a1eec74) Co-authored-by: Oliver --- 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 337c00452d..5d19244927 100644 --- a/InvenTree/build/serializers.py +++ b/InvenTree/build/serializers.py @@ -1019,7 +1019,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)