mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Bug fix for serializer detail
This commit is contained in:
parent
88df774aef
commit
9e01bc8ff2
@ -394,7 +394,7 @@ class PartRelationSerializer(InvenTreeModelSerializer):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
part_1_detail = PartSerializer(source='part_1', read_only=True, many=False)
|
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:
|
class Meta:
|
||||||
model = PartRelated
|
model = PartRelated
|
||||||
|
Loading…
Reference in New Issue
Block a user