Fix for status code serializer

This commit is contained in:
Oliver Walters 2021-08-24 22:03:52 +10:00
parent 86e3e26196
commit d5e58fd798

View File

@ -206,7 +206,7 @@ class POLineItemReceiveSerializer(serializers.Serializer):
)
status = serializers.ChoiceField(
choices=StockStatus.options,
choices=list(StockStatus.items()),
default=StockStatus.OK,
label=_('Status'),
)