Reload Rename and Bulk Rename Tool and link in setup module
This commit is contained in:
parent
23760e755d
commit
de9826cba1
@ -267,7 +267,7 @@ def create_proper_index():
|
|||||||
'Print Heading': [],
|
'Print Heading': [],
|
||||||
'TDS Rate Detail': ['category']
|
'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`")]
|
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]:
|
for dt in [d for d in dt_index_fields.keys() if d in exist_dt]:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# REMEMBER to update this
|
# REMEMBER to update this
|
||||||
# ========================
|
# ========================
|
||||||
|
|
||||||
last_patch = 328
|
last_patch = 329
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
@ -1304,3 +1304,6 @@ def execute(patch_no):
|
|||||||
elif patch_no == 328:
|
elif patch_no == 328:
|
||||||
from index_patch import create_proper_index
|
from index_patch import create_proper_index
|
||||||
create_proper_index()
|
create_proper_index()
|
||||||
|
elif patch_no == 329:
|
||||||
|
reload_doc('utilities', 'doctype', 'rename_tool')
|
||||||
|
reload_doc('utilities', 'doctype', 'bulk_rename_tool')
|
||||||
|
@ -183,6 +183,7 @@ SetupData = function(cnty){
|
|||||||
['Country',1,'Country','','Country master'],
|
['Country',1,'Country','','Country master'],
|
||||||
['State',1,'State','','State master'],
|
['State',1,'State','','State master'],
|
||||||
['Rename Tool',3,'Rename Tool','','Rename a record'],
|
['Rename Tool',3,'Rename Tool','','Rename a record'],
|
||||||
|
['Bulk Rename Tool',3,'Bulk Rename Tool','','Rename multiple records at a time'],
|
||||||
['Activty Type',1,'Activity Type','','Types of activities that you can select in your Timesheet'],
|
['Activty Type',1,'Activity Type','','Types of activities that you can select in your Timesheet'],
|
||||||
['City',1,'City','','City master']]};
|
['City',1,'City','','City master']]};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user