mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Removed unused serializer field
This commit is contained in:
parent
753fab2498
commit
a345e0e8da
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user