mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix for status code serializer
This commit is contained in:
parent
86e3e26196
commit
d5e58fd798
@ -206,7 +206,7 @@ class POLineItemReceiveSerializer(serializers.Serializer):
|
|||||||
)
|
)
|
||||||
|
|
||||||
status = serializers.ChoiceField(
|
status = serializers.ChoiceField(
|
||||||
choices=StockStatus.options,
|
choices=list(StockStatus.items()),
|
||||||
default=StockStatus.OK,
|
default=StockStatus.OK,
|
||||||
label=_('Status'),
|
label=_('Status'),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user