commit | 6f561aa846a092c431b056b212dc2676d021b9b6 | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Fri Jun 06 22:10:18 2014 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Fri Jun 06 22:10:18 2014 +0530 |
tree | 44854274a03154004dba5b5de73a17a3062555d4 | |
parent | 0aa125304d3eed4d848873dbbaa866635b2ef20d [diff] |
Fixed HR patch
diff --git a/erpnext/patches/v4_0/fix_case_of_hr_module_def.py b/erpnext/patches/v4_0/fix_case_of_hr_module_def.py index f7120b8..117c2ac 100644 --- a/erpnext/patches/v4_0/fix_case_of_hr_module_def.py +++ b/erpnext/patches/v4_0/fix_case_of_hr_module_def.py
@@ -8,3 +8,5 @@ if hr == "Hr": frappe.rename_doc("Module Def", "Hr", "HR") frappe.db.set_value("Module Def", "HR", "module_name", "HR") + + frappe.clear_cache()