Skip to content

Commit

Permalink
fix: also create VAT ID checks for invalid IDs
Browse files Browse the repository at this point in the history
Resolves #42
  • Loading branch information
barredterra committed Aug 27, 2024
1 parent 19ec3ba commit 7daa59a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions erpnext_germany/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7daa59a

Please sign in to comment.