fix: reload asset when creating asset depreciation

This commit is contained in:
Khushi Rawat
2024-06-22 00:57:00 +05:30
parent ca343f12d8
commit 7b5d5043c5

View File

@@ -4,6 +4,7 @@ import frappe
def execute():
frappe.reload_doc("assets", "doctype", "Asset Depreciation Schedule")
frappe.reload_doc("assets", "doctype", "Asset Finance Book")
frappe.reload_doc("assets", "doctype", "Asset")
assets = get_details_of_draft_or_submitted_depreciable_assets()