From e501c2db51db4caed2e8c3fcb3fcd42e871b7aad Mon Sep 17 00:00:00 2001 From: anandbaburajan Date: Mon, 2 Jan 2023 21:11:53 +0530 Subject: [PATCH] chore: just testing patch --- erpnext/patches.txt | 4 ++-- .../v15_0/create_asset_depreciation_schedules_from_assets.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 74f866e20e..ddceb3acfb 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -268,7 +268,6 @@ erpnext.patches.v13_0.show_hr_payroll_deprecation_warning erpnext.patches.v13_0.reset_corrupt_defaults erpnext.patches.v13_0.create_accounting_dimensions_for_asset_repair erpnext.patches.v15_0.delete_taxjar_doctypes -erpnext.patches.v15_0.create_asset_depreciation_schedules_from_assets [post_model_sync] execute:frappe.delete_doc_if_exists('Workspace', 'ERPNext Integrations Settings') @@ -320,4 +319,5 @@ erpnext.patches.v14_0.create_accounting_dimensions_for_asset_capitalization erpnext.patches.v14_0.update_partial_tds_fields erpnext.patches.v14_0.create_incoterms_and_migrate_shipment erpnext.patches.v14_0.setup_clear_repost_logs -erpnext.patches.v14_0.create_accounting_dimensions_for_payment_request \ No newline at end of file +erpnext.patches.v14_0.create_accounting_dimensions_for_payment_request +erpnext.patches.v15_0.create_asset_depreciation_schedules_from_assets \ No newline at end of file diff --git a/erpnext/patches/v15_0/create_asset_depreciation_schedules_from_assets.py b/erpnext/patches/v15_0/create_asset_depreciation_schedules_from_assets.py index 9ec7537a88..c281b77987 100644 --- a/erpnext/patches/v15_0/create_asset_depreciation_schedules_from_assets.py +++ b/erpnext/patches/v15_0/create_asset_depreciation_schedules_from_assets.py @@ -2,8 +2,6 @@ import frappe def execute(): - frappe.reload_doc("assets", "doctype", "Asset Depreciation Schedule") - assets = get_details_of_draft_or_submitted_depreciable_assets() for asset in assets: