[BUG] Unable to create build output

Fix if no allocate set
Fixes #2663
This commit is contained in:
Matthias 2022-02-23 02:01:46 +01:00
parent 05b0a493ad
commit 7be832cc9b
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

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