From a345e0e8da99a988e4fa6f45e30eb67e958196fd Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 28 Apr 2020 23:26:27 +1000 Subject: [PATCH] Removed unused serializer field --- InvenTree/part/serializers.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/InvenTree/part/serializers.py b/InvenTree/part/serializers.py index b56bbc588f..e713de455f 100644 --- a/InvenTree/part/serializers.py +++ b/InvenTree/part/serializers.py @@ -239,8 +239,6 @@ class BomItemSerializer(InvenTreeModelSerializer): price_range = serializers.CharField(read_only=True) quantity = serializers.FloatField() - - available = serializers.FloatField(source='available_stock') part_detail = PartBriefSerializer(source='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_detail', 'quantity', - 'available', 'reference', 'price_range', 'overage',