From 99503a60d3f97212dd3247c4ea637ea6758aa5f1 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 5 Oct 2021 12:16:41 +1100 Subject: [PATCH] Fix for "barcode" field in purchase order receive serializer - Allow blank values! --- InvenTree/order/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/order/serializers.py b/InvenTree/order/serializers.py index da2d23cd0d..f288f8a8e2 100644 --- a/InvenTree/order/serializers.py +++ b/InvenTree/order/serializers.py @@ -235,6 +235,7 @@ class POLineItemReceiveSerializer(serializers.Serializer): help_text=_('Unique identifier field'), default='', required=False, + allow_blank=True, ) def validate_barcode(self, barcode):