Bug fix for serializer detail

This commit is contained in:
Oliver 2021-11-25 14:45:28 +11:00
parent 88df774aef
commit 9e01bc8ff2

View File

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