mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix encoded type for 'quantity' field
This commit is contained in:
parent
e4306f090d
commit
480b3d5813
@ -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"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user