Removed unused serializer field

This commit is contained in:
Oliver Walters 2020-04-28 23:26:27 +10:00
parent 753fab2498
commit a345e0e8da

View File

@ -240,8 +240,6 @@ class BomItemSerializer(InvenTreeModelSerializer):
quantity = serializers.FloatField() quantity = serializers.FloatField()
available = serializers.FloatField(source='available_stock')
part_detail = PartBriefSerializer(source='part', many=False, read_only=True) part_detail = PartBriefSerializer(source='part', many=False, read_only=True)
sub_part_detail = PartBriefSerializer(source='sub_part', many=False, read_only=True) sub_part_detail = PartBriefSerializer(source='sub_part', many=False, read_only=True)
@ -282,7 +280,6 @@ class BomItemSerializer(InvenTreeModelSerializer):
'sub_part', 'sub_part',
'sub_part_detail', 'sub_part_detail',
'quantity', 'quantity',
'available',
'reference', 'reference',
'price_range', 'price_range',
'overage', 'overage',