Removed sales_register1 and sales_register2 folders as they are not required anymore
diff --git a/patches/patch.py b/patches/patch.py
index 111d2e8..e1ee318 100644
--- a/patches/patch.py
+++ b/patches/patch.py
@@ -1,6 +1,6 @@
# REMEMBER to update this
# ========================
-last_patch = 299
+last_patch = 300
#-------------------------------------------
@@ -1192,3 +1192,6 @@
sql("update `tabDocField` set options = 'Link:Company' where parent = 'Appraisal' and fieldname = 'company'")
elif patch_no == 299:
sql("update `tabDocPerm` set `match` = NULL where parent = 'Employee' and role = 'Employee'")
+ elif patch_no == 300:
+ sql("""DELETE FROM `tabSearch Criteria` WHERE name IN
+ ('sales_register1', 'sales_register2', 'purchase_register1')""")