brotherton-erpnext/patches/january_2013/remove_support_search_criteria.py
2013-01-04 12:06:54 +05:30

4 lines
143 B
Python

import webnotes
def execute():
for sc in ["warranty-amc_expiry_details", "warranty-amc_summary"]:
webnotes.delete_doc("Search Criteria", sc)