From 5224f13db26ddb4983430a59fc7b1053d7523c5d Mon Sep 17 00:00:00 2001 From: Gursheen Anand Date: Mon, 24 Jul 2023 14:52:29 +0530 Subject: [PATCH] fix: add patch for renaming tds payable report --- .../__init__.py | 0 .../tax_withholding_details.js} | 2 +- .../tax_withholding_details.json} | 4 ++-- .../tax_withholding_details.py} | 0 erpnext/patches.txt | 1 + 5 files changed, 4 insertions(+), 3 deletions(-) rename erpnext/accounts/report/{tds_payable_monthly => tax_withholding_details}/__init__.py (100%) rename erpnext/accounts/report/{tds_payable_monthly/tds_payable_monthly.js => tax_withholding_details/tax_withholding_details.js} (96%) rename erpnext/accounts/report/{tds_payable_monthly/tds_payable_monthly.json => tax_withholding_details/tax_withholding_details.json} (88%) rename erpnext/accounts/report/{tds_payable_monthly/tds_payable_monthly.py => tax_withholding_details/tax_withholding_details.py} (100%) diff --git a/erpnext/accounts/report/tds_payable_monthly/__init__.py b/erpnext/accounts/report/tax_withholding_details/__init__.py similarity index 100% rename from erpnext/accounts/report/tds_payable_monthly/__init__.py rename to erpnext/accounts/report/tax_withholding_details/__init__.py diff --git a/erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.js b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.js similarity index 96% rename from erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.js rename to erpnext/accounts/report/tax_withholding_details/tax_withholding_details.js index 11b80aab07..c29a801059 100644 --- a/erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.js +++ b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.js @@ -2,7 +2,7 @@ // For license information, please see license.txt /* eslint-disable */ -frappe.query_reports["TDS Payable Monthly"] = { +frappe.query_reports["Tax Withholding Details"] = { "filters": [ { "fieldname":"company", diff --git a/erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.json b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.json similarity index 88% rename from erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.json rename to erpnext/accounts/report/tax_withholding_details/tax_withholding_details.json index 4d555bd8ba..fb204b319d 100644 --- a/erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.json +++ b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.json @@ -12,11 +12,11 @@ "modified": "2021-09-20 12:05:50.387572", "modified_by": "Administrator", "module": "Accounts", - "name": "TDS Payable Monthly", + "name": "Tax Withholding Details", "owner": "Administrator", "prepared_report": 0, "ref_doctype": "Purchase Invoice", - "report_name": "TDS Payable Monthly", + "report_name": "Tax Withholding Details", "report_type": "Script Report", "roles": [ { diff --git a/erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.py b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py similarity index 100% rename from erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.py rename to erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 73e0a95da9..17add82d45 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -262,6 +262,7 @@ erpnext.patches.v14_0.update_reference_due_date_in_journal_entry erpnext.patches.v15_0.saudi_depreciation_warning erpnext.patches.v15_0.delete_saudi_doctypes erpnext.patches.v14_0.show_loan_management_deprecation_warning +execute:frappe.rename_doc("Report", "TDS Payable Monthly", "Tax Withholding Details", force=True) [post_model_sync] execute:frappe.delete_doc_if_exists('Workspace', 'ERPNext Integrations Settings')