brotherton-erpnext/patches/november_2012/rename_employee_leave_balance_report.py
2012-11-12 12:12:24 +05:30

7 lines
245 B
Python

import webnotes
def execute():
webnotes.conn.sql("""delete from `tabSearch Criteria`
where name ='employee_leave_balance_report1'""")
webnotes.conn.sql("""delete from `tabSearch Criteria`
where name ='employee_leave_balance_report2'""")