merge
diff --git a/patches/january_2013/deprecate_stock_search_criteria.py b/patches/january_2013/deprecate_stock_search_criteria.py
new file mode 100644
index 0000000..d51aadb
--- /dev/null
+++ b/patches/january_2013/deprecate_stock_search_criteria.py
@@ -0,0 +1,9 @@
+import webnotes
+
+def execute():
+ for sc in ["itemwise_price_list", "itemwise_receipt_details",
+ "shortage_to_purchase_request", "stock_aging_report",
+ "stock_ledger", "stock_level", "stock_report",
+ "custom_test2", "custom_test3", "custom_test4",
+ "test_so2", "test_so3"]:
+ webnotes.delete_doc("Search Criteria", sc)
\ No newline at end of file
diff --git a/patches/patch_list.py b/patches/patch_list.py
index 318ce25..93e5a76 100644
--- a/patches/patch_list.py
+++ b/patches/patch_list.py
@@ -578,4 +578,8 @@
'patch_module': 'patches.january_2013',
'patch_file': 'remove_bad_permissions',
},
+ {
+ 'patch_module': 'patches.january_2013',
+ 'patch_file': 'deprecate_stock_search_criteria',
+ },
]
\ No newline at end of file