brotherton-erpnext/patches/february_2013/p03_material_request.py
2013-02-18 13:49:15 +05:30

6 lines
260 B
Python

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)