file_list field hidden in bulk rename tool

This commit is contained in:
Nabin Hait
2011-07-27 14:26:23 +05:30
parent ce55dcc2c2
commit d29916b7f5
8 changed files with 19 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 330
last_patch = 332
#-------------------------------------------
@@ -1346,3 +1346,5 @@ def execute(patch_no):
# permission
p.add_permission('Lease Agreement', 'Accounts Manager', 0, read = 1, write=1,submit=1, cancel=1,amend=1)
p.add_permission('Lease Agreement', 'Accounts Manager', 1, read = 1)
elif patch_no == 332:
sql("update `tabDocField` set permlevel=1, hidden = 1 where parent = 'Bulk Rename Tool' and fieldname = 'file_list'")