From 3bfeefafcd6e94c5d772dc07be2fd4f628a44e7d Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 16 Dec 2011 16:19:38 +0530 Subject: [PATCH] Modified patch --- erpnext/patches/employeewise_balance_leave_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/employeewise_balance_leave_report.py b/erpnext/patches/employeewise_balance_leave_report.py index 9d5ca1de97..59c59408a1 100644 --- a/erpnext/patches/employeewise_balance_leave_report.py +++ b/erpnext/patches/employeewise_balance_leave_report.py @@ -7,7 +7,7 @@ def execute(): from webnotes.model.doc import Document from webnotes.modules.module_manager import reload_doc - reload_doc('hr', 'doctype', 'employeewise_balance_leave_report') + reload_doc('hr', 'search_criteria', 'employeewise_balance_leave_report') d = Document('Search Criteria', 'employeewise_balance_leave_report') d.criteria_name = 'Employee Leave Balance Report' d.description = 'Employeewise Balance Leave Report'