diff --git a/InvenTree/stock/serializers.py b/InvenTree/stock/serializers.py index a2fbd5bb6a..44b03daf2a 100644 --- a/InvenTree/stock/serializers.py +++ b/InvenTree/stock/serializers.py @@ -92,7 +92,8 @@ class StockItemSerializer(InvenTreeModelSerializer): tracking_items = serializers.IntegerField(source='tracking_info_count', read_only=True) - allocated = serializers.BooleanField(source='is_allocated', read_only=True) + quantity = serializers.FloatField() + allocated = serializers.FloatField(source='allocation_count', read_only=True) def __init__(self, *args, **kwargs):