Modified patch

This commit is contained in:
Nabin Hait 2011-12-16 16:15:31 +05:30
parent c57c5b0b44
commit f8bfcdc495

View File

@ -6,7 +6,9 @@
""" """
def execute(): def execute():
from webnotes.model.doc import Document from webnotes.model.doc import Document
from webnotes.modules.module_manager import reload_doc
reload_doc('hr', 'doctype', 'employeewise_balance_leave_report')
d = Document('Search Criteria', 'employeewise_balance_leave_report') d = Document('Search Criteria', 'employeewise_balance_leave_report')
d.criteria_name = 'Employee Leave Balance Report' d.criteria_name = 'Employee Leave Balance Report'
d.description = 'Employeewise Balance Leave Report' d.description = 'Employeewise Balance Leave Report'
d.save() d.save()