diff --git a/patches/february_2013/p03_material_request.py b/patches/february_2013/p03_material_request.py index d0fcd14d7a..612c1084a3 100644 --- a/patches/february_2013/p03_material_request.py +++ b/patches/february_2013/p03_material_request.py @@ -19,5 +19,4 @@ def execute(): 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") - \ No newline at end of file diff --git a/patches/february_2013/p06_material_request_mappers.py b/patches/february_2013/p06_material_request_mappers.py new file mode 100644 index 0000000000..374588b6e0 --- /dev/null +++ b/patches/february_2013/p06_material_request_mappers.py @@ -0,0 +1,7 @@ +import webnotes + +def execute(): + webnotes.reload_doc("buying", "DocType Mapper", "Material Request-Purchase Order") + webnotes.reload_doc("buying", "DocType Mapper", "Material Request-Supplier Quotation") + webnotes.reload_doc("buying", "DocType Mapper", "Sales Order-Material Request") + webnotes.reload_doc("stock", "DocType Mapper", "Material Request-Stock Entry") \ No newline at end of file diff --git a/patches/patch_list.py b/patches/patch_list.py index edba67acc9..4cdebc2c88 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -185,4 +185,5 @@ patch_list = [ "execute:webnotes.delete_doc('DocType', 'Service Quotation')", "execute:webnotes.delete_doc('DocType', 'Service Order Detail')", "execute:webnotes.delete_doc('DocType', 'Service Quotation Detail')", + "patches.february_2013.p06_material_request_mappers", ] \ No newline at end of file