From c58fbffc008675e87a1357fdb1cdda4d66a719d0 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 18 May 2012 11:07:04 +0530 Subject: [PATCH] so pending item patch --- erpnext/patches/may_2012/reload_so_pending_items.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/may_2012/reload_so_pending_items.py b/erpnext/patches/may_2012/reload_so_pending_items.py index b884ee4291..8c9aee7d52 100644 --- a/erpnext/patches/may_2012/reload_so_pending_items.py +++ b/erpnext/patches/may_2012/reload_so_pending_items.py @@ -3,5 +3,6 @@ def execute(): from webnotes.model import delete_doc delete_doc("Search Criteria", "sales_order_pending_items1") + webnotes.conn.sql("update `tabSearch Criteria` set module = 'Selling' where module = 'CRM'") from webnotes.modules import reload_doc reload_doc('selling', 'search_criteria', 'sales_order_pending_items') \ No newline at end of file