From 2a760639f6b565c81c278955af4918bb23f41414 Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 26 Dec 2019 20:27:15 +0530 Subject: [PATCH] Set validation status to empty on error --- hosting/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hosting/views.py b/hosting/views.py index 869f5d1c..6467c243 100644 --- a/hosting/views.py +++ b/hosting/views.py @@ -631,6 +631,7 @@ class SettingsView(LoginRequiredMixin, FormView): billing_address = billing_address_user_form.save() billing_address.stripe_tax_id = '' billing_address.vat_number_validated_on = None + billing_address.vat_validation_status = '' billing_address.save() vat_number = billing_address_user_form.cleaned_data.get( 'vat_number').strip()