From f448a077b819a7349ee60d0a2a95699396aab9cb Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Wed, 23 Nov 2022 17:47:05 +0530 Subject: [PATCH] chore: Cleanup patches --- erpnext/patches.txt | 1 - erpnext/patches/v12_0/add_taxjar_integration_field.py | 11 ----------- erpnext/regional/united_states/setup.py | 3 --- 3 files changed, 15 deletions(-) delete mode 100644 erpnext/patches/v12_0/add_taxjar_integration_field.py diff --git a/erpnext/patches.txt b/erpnext/patches.txt index a1e30b66e9..03bf831448 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -169,7 +169,6 @@ erpnext.patches.v13_0.delete_old_sales_reports execute:frappe.delete_doc_if_exists("DocType", "Bank Reconciliation") execute:frappe.reload_doc("regional", "doctype", "e_invoice_settings") erpnext.patches.v13_0.loyalty_points_entry_for_pos_invoice #22-07-2020 -erpnext.patches.v12_0.add_taxjar_integration_field erpnext.patches.v12_0.fix_percent_complete_for_projects erpnext.patches.v13_0.delete_report_requested_items_to_order erpnext.patches.v12_0.update_item_tax_template_company diff --git a/erpnext/patches/v12_0/add_taxjar_integration_field.py b/erpnext/patches/v12_0/add_taxjar_integration_field.py deleted file mode 100644 index 9217384b81..0000000000 --- a/erpnext/patches/v12_0/add_taxjar_integration_field.py +++ /dev/null @@ -1,11 +0,0 @@ -import frappe - -from erpnext.regional.united_states.setup import make_custom_fields - - -def execute(): - company = frappe.get_all("Company", filters={"country": "United States"}) - if not company: - return - - make_custom_fields() diff --git a/erpnext/regional/united_states/setup.py b/erpnext/regional/united_states/setup.py index 47f24ef4e7..808bbb1a69 100644 --- a/erpnext/regional/united_states/setup.py +++ b/erpnext/regional/united_states/setup.py @@ -2,9 +2,6 @@ # License: GNU General Public License v3. See license.txt import frappe -import os -import json -from frappe.permissions import add_permission, update_permission_property from frappe.custom.doctype.custom_field.custom_field import create_custom_fields