Reload Rename and Bulk Rename Tool and link in setup module
diff --git a/patches/index_patch.py b/patches/index_patch.py
index 415b534..3ef8ec3 100644
--- a/patches/index_patch.py
+++ b/patches/index_patch.py
@@ -267,7 +267,7 @@
'Print Heading': [],
'TDS Rate Detail': ['category']
}
- sql("commit")
+ #sql("commit") # only required if run from login
exist_dt = [cstr(d[0]) for d in sql("select name from `tabDocType`")]
for dt in [d for d in dt_index_fields.keys() if d in exist_dt]:
diff --git a/patches/patch.py b/patches/patch.py
index 83e85ac..18272fc 100644
--- a/patches/patch.py
+++ b/patches/patch.py
@@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
-last_patch = 328
+last_patch = 329
#-------------------------------------------
@@ -1304,3 +1304,6 @@
elif patch_no == 328:
from index_patch import create_proper_index
create_proper_index()
+ elif patch_no == 329:
+ reload_doc('utilities', 'doctype', 'rename_tool')
+ reload_doc('utilities', 'doctype', 'bulk_rename_tool')