update bom no options in stock entry

This commit is contained in:
Nabin Hait 2012-03-21 16:02:44 +05:30
parent 31fcc4bb36
commit 93162f603d
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,6 @@
def execute():
import webnotes
webnotes.conn.sql("update `tabDocField` set options = 'Bill Of Materials' where fieldname = 'bom_no' and parent = 'Stock Entry'")
from webnotes.modules.module_manager import reload_doc
reload_doc('stock', 'doctype', 'stock_entry')

View File

@ -202,5 +202,10 @@ patch_list = [
'patch_file': 'update_purpose_se',
'description': 'Purpose SE: Others to Other'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'update_se_fld_options',
'description': 'Purpose SE: Others to Other'
},
]