From 3af426bdd7d962d79f80bf3cbd92f4e6a2e73abc Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 18 Nov 2021 16:17:47 +0100 Subject: [PATCH] allow empty values -> submition from form --- InvenTree/plugin/serializers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugin/serializers.py b/InvenTree/plugin/serializers.py index 8ca48ae5ca..c02025e9ae 100644 --- a/InvenTree/plugin/serializers.py +++ b/InvenTree/plugin/serializers.py @@ -40,8 +40,8 @@ class PluginConfigInstallSerializer(serializers.Serializer): Serializer for installing a new plugin """ - url = serializers.CharField(required=False) - packagename = serializers.CharField(required=False) + url = serializers.CharField(required=False, allow_blank=True) + packagename = serializers.CharField(required=False, allow_blank=True) confirm = serializers.BooleanField() class Meta: