Add unit test to check an "empty" (null) barcode can be supplied

This commit is contained in:
Oliver
2021-11-09 12:07:57 +11:00
parent 1520c296dd
commit 30684685f9
2 changed files with 26 additions and 0 deletions

View File

@ -242,6 +242,7 @@ class POLineItemReceiveSerializer(serializers.Serializer):
help_text=_('Unique identifier field'),
default='',
required=False,
allow_null=True,
allow_blank=True,
)