Merge pull request #12652 from shreyashah115/patch-fix
Patch fix for Leave Application Workflow
This commit is contained in:
commit
ec3052cc8f
@ -9,4 +9,5 @@ def execute():
|
||||
frappe.reload_doc("hr", "doctype", "leave_application")
|
||||
frappe.reload_doc("workflow", "doctype", "workflow")
|
||||
leave_application_workflow()
|
||||
if frappe.db.has_column("Leave Application", "status"):
|
||||
frappe.db.sql("""update `tabLeave Application` set workflow_state = status""")
|
||||
|
Loading…
Reference in New Issue
Block a user