mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
Fix encoded type for 'quantity' field
This commit is contained in:
@ -508,6 +508,8 @@ class PartSerializer(RemoteImageMixin, InvenTreeModelSerializer):
|
|||||||
class PartStocktakeSerializer(InvenTreeModelSerializer):
|
class PartStocktakeSerializer(InvenTreeModelSerializer):
|
||||||
"""Serializer for the PartStocktake model"""
|
"""Serializer for the PartStocktake model"""
|
||||||
|
|
||||||
|
quantity = serializers.FloatField()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
"""Metaclass options"""
|
"""Metaclass options"""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user