reload so pending items
diff --git a/erpnext/patches/may_2012/reload_so_pending_items.py b/erpnext/patches/may_2012/reload_so_pending_items.py
new file mode 100644
index 0000000..b884ee4
--- /dev/null
+++ b/erpnext/patches/may_2012/reload_so_pending_items.py
@@ -0,0 +1,7 @@
+def execute():
+ import webnotes
+ from webnotes.model import delete_doc
+ delete_doc("Search Criteria", "sales_order_pending_items1")
+
+ from webnotes.modules import reload_doc
+ reload_doc('selling', 'search_criteria', 'sales_order_pending_items')
\ No newline at end of file
diff --git a/erpnext/patches/patch_list.py b/erpnext/patches/patch_list.py
index e3eca5a..b2983b5 100644
--- a/erpnext/patches/patch_list.py
+++ b/erpnext/patches/patch_list.py
@@ -357,5 +357,10 @@
'patch_file': 'std_pf_readonly',
'description': 'Make standard print formats readonly for system manager'
},
+ {
+ 'patch_module': 'patches.may_2012',
+ 'patch_file': 'reload_so_pending_items',
+ 'description': 'reload so pending items'
+ },
-]
+]
\ No newline at end of file