brotherton-erpnext/patches/november_2012/rename_employee_leave_balance_report.py

7 lines
245 B
Python
Raw Normal View History

2012-11-12 06:42:24 +00:00
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'""")