mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
fix(patch): Reload Leave Type (#19240)
This commit is contained in:
@@ -10,6 +10,7 @@ def execute():
|
|||||||
for last allocation """
|
for last allocation """
|
||||||
frappe.reload_doc("HR", "doctype", "Leave Ledger Entry")
|
frappe.reload_doc("HR", "doctype", "Leave Ledger Entry")
|
||||||
frappe.reload_doc("HR", "doctype", "Leave Encashment")
|
frappe.reload_doc("HR", "doctype", "Leave Encashment")
|
||||||
|
frappe.reload_doc("HR", "doctype", "Leave Type")
|
||||||
if frappe.db.a_row_exists("Leave Ledger Entry"):
|
if frappe.db.a_row_exists("Leave Ledger Entry"):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user