Skip to content

Commit

Permalink
fix: reload asset when creating asset depreciation
Browse files Browse the repository at this point in the history
  • Loading branch information
khushi8112 committed Jun 21, 2024
1 parent ca343f1 commit 7b5d504
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
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()

Expand Down

0 comments on commit 7b5d504

Please sign in to comment.