From 9e01bc8ff2622443c9d083ae2b6ee72780a943f3 Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 25 Nov 2021 14:45:28 +1100 Subject: [PATCH] Bug fix for serializer detail --- InvenTree/part/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/part/serializers.py b/InvenTree/part/serializers.py index e30b0ba4de..388faf1ca2 100644 --- a/InvenTree/part/serializers.py +++ b/InvenTree/part/serializers.py @@ -394,7 +394,7 @@ class PartRelationSerializer(InvenTreeModelSerializer): """ part_1_detail = PartSerializer(source='part_1', read_only=True, many=False) - part_2_detail = PartSerializer(source='part_1', read_only=True, many=False) + part_2_detail = PartSerializer(source='part_2', read_only=True, many=False) class Meta: model = PartRelated