16 lines
729 B
Python
16 lines
729 B
Python
import webnotes, os, sys
|
|
|
|
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.reload_doc("buying", "search_criteria", "pending_po_items_to_bill")
|
|
webnotes.reload_doc("buying", "search_criteria", "pending_po_items_to_receive")
|
|
|
|
os.system("rm -rf app/buying/doctype/purchase_request")
|
|
os.system("rm -rf app/buying/doctype/purchase_request_item")
|
|
|
|
os.system("rm -rf app/hr/doctype/holiday_block_list")
|
|
os.system("rm -rf app/hr/doctype/holiday_block_list_allow")
|
|
os.system("rm -rf app/hr/doctype/holiday_block_list_date")
|
|
|