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

@ -239,8 +239,6 @@ class BomItemSerializer(InvenTreeModelSerializer):
price_range = serializers.CharField(read_only=True) price_range = serializers.CharField(read_only=True)
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',