From 7be832cc9ba6a6a53e797e94136504006554a020 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 23 Feb 2022 02:01:46 +0100 Subject: [PATCH] [BUG] Unable to create build output Fix if no allocate set Fixes #2663 --- InvenTree/build/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/build/serializers.py b/InvenTree/build/serializers.py index c7577fa68c..e708bf0b3b 100644 --- a/InvenTree/build/serializers.py +++ b/InvenTree/build/serializers.py @@ -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'), )