2011-10-31 17:41:04 +05:30
|
|
|
"""
|
|
|
|
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
|
2011-12-16 16:15:31 +05:30
|
|
|
from webnotes.modules.module_manager import reload_doc
|
2011-12-16 16:19:38 +05:30
|
|
|
reload_doc('hr', 'search_criteria', 'employeewise_balance_leave_report')
|
2011-10-31 17:41:04 +05:30
|
|
|
d = Document('Search Criteria', 'employeewise_balance_leave_report')
|
|
|
|
d.criteria_name = 'Employee Leave Balance Report'
|
|
|
|
d.description = 'Employeewise Balance Leave Report'
|
2011-12-16 16:15:31 +05:30
|
|
|
d.save()
|