[fix][patch] Reload Leave Type

This commit is contained in:
Nabin Hait 2015-07-29 16:37:02 +05:30
parent 8ce47862f9
commit d1dc622914
2 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,7 @@
],
"icon": "icon-flag",
"idx": 1,
"modified": "2015-05-08 05:15:24.194053",
"modified": "2015-07-29 05:15:24",
"modified_by": "Administrator",
"module": "HR",
"name": "Leave Type",

View File

@ -181,4 +181,5 @@ erpnext.patches.v5_1.rename_roles
erpnext.patches.v5_1.default_bom
execute:frappe.delete_doc("DocType", "Party Type")
erpnext.patches.v5_4.fix_reserved_qty_and_sle_for_packed_items
execute:frappe.reload_doctype("Leave Type")
execute:frappe.db.sql("update `tabLeave Type` set include_holiday=1")