diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 74f866e20eb..ba92e9084f7 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -268,7 +268,7 @@ 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 +erpnext.patches.v15_0.create_asset_depreciation_schedules_from_assets #03 [post_model_sync] execute:frappe.delete_doc_if_exists('Workspace', 'ERPNext Integrations Settings') 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 e77e5262bb3..02ffa70888a 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,7 +2,7 @@ import frappe def execute(): - frappe.reload_doc("asset", "doctype", "Asset Depreciation Schedule") + frappe.reload_doc("assets", "doctype", "Asset Depreciation Schedule") assets = get_details_of_draft_or_submitted_depreciable_assets()