Merge pull request from tobrahma/master

BOM List item_code changed to item
This commit is contained in:
Nabin Hait 2011-08-16 00:22:45 -07:00
commit 57aa74cced
2 changed files with 13 additions and 11 deletions
patches
production/doctype/bill_of_materials

@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 338
last_patch = 339
#-------------------------------------------
@ -1405,3 +1405,5 @@ def execute(patch_no):
# update name of questions page
sql("update tabPage set name='questions' where name='Questions'")
sql("update tabPage set name='question-view' where name='Question View'")
elif patch_no == 339
reload_doc('production','doctype','bill_of_materials')

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