From fe62769078773047b3573847e6c8258dfc6ff3e7 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 18 Feb 2013 13:51:41 +0530 Subject: [PATCH] reload search criteria in material request patch --- patches/february_2013/p03_material_request.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patches/february_2013/p03_material_request.py b/patches/february_2013/p03_material_request.py index f8c4dc1b93b..f0c9d616bea 100644 --- a/patches/february_2013/p03_material_request.py +++ b/patches/february_2013/p03_material_request.py @@ -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) \ No newline at end of file + 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") \ No newline at end of file