BOM List modified access item instead of item_code

This commit is contained in:
Brahma K 2011-08-16 12:21:07 +05:30
parent 5ca0153b51
commit e8ec975bb3
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 332
last_patch = 333
#-------------------------------------------
@ -1348,3 +1348,5 @@ def execute(patch_no):
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'")
elif patch_no == 333:
reload_doc('production','doctype','bill_of_materials')

View File

@ -34,7 +34,7 @@
'section_style': 'Tabbed',
'server_code_error': ' ',
'show_in_menu': 0,
'subject': '%(item_code)s',
'subject': '%(item)s',
'version': 170
},