From 30cf682e4691c0deb05d61493a1a8d9cc6abb045 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 31 Oct 2011 17:41:04 +0530 Subject: [PATCH] Change criteria name of employeewise_balance_leave_report --- erpnext/patches/employeewise_balance_leave_report.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 erpnext/patches/employeewise_balance_leave_report.py diff --git a/erpnext/patches/employeewise_balance_leave_report.py b/erpnext/patches/employeewise_balance_leave_report.py new file mode 100644 index 0000000000..6af236484e --- /dev/null +++ b/erpnext/patches/employeewise_balance_leave_report.py @@ -0,0 +1,12 @@ +""" + This patch changes criteria name + of search criteria "employeewise_balance_leave_report" + from "Employeewise Balance Leave Report" + to "Employee Leave Balance Report" +""" +def execute(): + from webnotes.model.doc import Document + d = Document('Search Criteria', 'employeewise_balance_leave_report') + d.criteria_name = 'Employee Leave Balance Report' + d.description = 'Employeewise Balance Leave Report' + d.save() \ No newline at end of file