Reload Rename and Bulk Rename Tool and link in setup module

This commit is contained in:
nabinhait
2011-07-20 18:02:59 +05:30
parent 23760e755d
commit de9826cba1
3 changed files with 6 additions and 2 deletions

View File

@@ -267,7 +267,7 @@ def create_proper_index():
'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]: