mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
Change criteria name of employeewise_balance_leave_report
This commit is contained in:
12
erpnext/patches/employeewise_balance_leave_report.py
Normal file
12
erpnext/patches/employeewise_balance_leave_report.py
Normal file
@@ -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()
|
||||
Reference in New Issue
Block a user