2012-03-21 10:26:22 +00:00
|
|
|
def execute():
|
|
|
|
import webnotes
|
2012-03-30 06:59:06 +00:00
|
|
|
webnotes.conn.sql("update `tabDocField` set options = 'BOM' where fieldname = 'bom_no' and parent = 'Stock Entry'")
|
2012-03-21 10:32:44 +00:00
|
|
|
|
2012-04-02 08:36:46 +00:00
|
|
|
from webnotes.modules import reload_doc
|
2012-03-21 10:32:44 +00:00
|
|
|
reload_doc('stock', 'doctype', 'stock_entry')
|