reload search criteria in material request patch

This commit is contained in:
Anand Doshi 2013-02-18 13:51:41 +05:30
parent 10eeae067c
commit fe62769078

View File

@ -3,4 +3,6 @@ import webnotes
def execute():
webnotes.reload_doc("core", "doctype", "doctype")
webnotes.rename_doc("DocType", "Purchase Request Item", "Material Request Item", force=True)
webnotes.rename_doc("DocType", "Purchase Request", "Material Request", force=True)
webnotes.rename_doc("DocType", "Purchase Request", "Material Request", force=True)
webnotes.reload_doc("buying", "search_criteria", "pending_po_items_to_bill")
webnotes.reload_doc("buying", "search_criteria", "pending_po_items_to_receive")