Skip to content

Commit

Permalink
fix(usage-record): Reload the doc before alter
Browse files Browse the repository at this point in the history
  • Loading branch information
shadrak98 committed Jan 10, 2025
1 parent d30cd94 commit 6bc8371
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@


def execute():
frappe.reload_doc("press", "doctype", "usage_record")
frappe.get_doc("DocType", "Usage Record").run_module_method("on_doctype_update")

0 comments on commit 6bc8371

Please sign in to comment.