reload mappers related to Material Request
diff --git a/patches/february_2013/p03_material_request.py b/patches/february_2013/p03_material_request.py
index d0fcd14..612c108 100644
--- a/patches/february_2013/p03_material_request.py
+++ b/patches/february_2013/p03_material_request.py
@@ -19,5 +19,4 @@
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 0000000..374588b
--- /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 edba67a..4cdebc2 100644
--- a/patches/patch_list.py
+++ b/patches/patch_list.py
@@ -185,4 +185,5 @@
"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