Removed sales_register1 and sales_register2 folders as they are not required anymore

This commit is contained in:
Anand Doshi
2011-06-28 13:42:08 +05:30
parent 3766a5598d
commit b74eec8e93
9 changed files with 4 additions and 203 deletions

View File

@@ -1,6 +1,6 @@
# REMEMBER to update this
# ========================
last_patch = 299
last_patch = 300
#-------------------------------------------
@@ -1192,3 +1192,6 @@ def execute(patch_no):
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')""")