Use correct field

This commit is contained in:
PCoder 2019-12-26 13:52:14 +05:30
parent 262bf3e2f7
commit 7eff6fc92c

View file

@ -630,7 +630,7 @@ class SettingsView(LoginRequiredMixin, FormView):
data=billing_address_data)
billing_address = billing_address_user_form.save()
billing_address.stripe_tax_id = ''
billing_address.vat_validated_on = None
billing_address.vat_number_validated_on = None
billing_address.save()
vat_number = billing_address_user_form.cleaned_data.get(
'vat_number').strip()