From 7daa59a94f04d97a06a3bd6d2a0d8b824a017254 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Tue, 27 Aug 2024 16:50:27 +0200 Subject: [PATCH] fix: also create VAT ID checks for invalid IDs Resolves #42 --- erpnext_germany/tasks.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/erpnext_germany/tasks.py b/erpnext_germany/tasks.py index 7aa1f04..4460b9a 100644 --- a/erpnext_germany/tasks.py +++ b/erpnext_germany/tasks.py @@ -93,11 +93,6 @@ def check_some_parties(): for party_type, party, party_name, primary_address, vat_id in ( get_customers() + get_suppliers() ): - try: - parse_vat_id(vat_id) - except ValueError: - continue - doc = frappe.new_doc("VAT ID Check") doc.party_type = party_type doc.party = party