brotherton-erpnext/patches/january_2013/remove_support_search_criteria.py

4 lines
143 B
Python
Raw Normal View History

2013-01-04 06:36:54 +00:00
import webnotes
def execute():
for sc in ["warranty-amc_expiry_details", "warranty-amc_summary"]:
webnotes.delete_doc("Search Criteria", sc)