Fix for "barcode" field in purchase order receive serializer

- Allow blank values!
This commit is contained in:
Oliver 2021-10-05 12:16:41 +11:00
parent 09d0dd20fe
commit 99503a60d3

View File

@ -235,6 +235,7 @@ class POLineItemReceiveSerializer(serializers.Serializer):
help_text=_('Unique identifier field'),
default='',
required=False,
allow_blank=True,
)
def validate_barcode(self, barcode):