2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 04:56:45 +00:00

Merge pull request #2666 from matmair/matmair/issue2663

[BUG] Unable to create build output

(cherry picked from commit 50a45474da3907a0ad0f1568cbf97708ad4b28dd)
This commit is contained in:
Oliver 2022-02-25 14:30:12 +11:00
parent 37bd57313e
commit 84a168fc07

View File

@ -236,6 +236,7 @@ class BuildOutputCreateSerializer(serializers.Serializer):
auto_allocate = serializers.BooleanField( auto_allocate = serializers.BooleanField(
required=False, required=False,
default=False, default=False,
allow_null=True,
label=_('Auto Allocate Serial Numbers'), label=_('Auto Allocate Serial Numbers'),
help_text=_('Automatically allocate required items with matching serial numbers'), help_text=_('Automatically allocate required items with matching serial numbers'),
) )