2012-03-21 15:56:22 +05:30
|
|
|
def execute():
|
|
|
|
import webnotes
|
2012-03-30 12:29:06 +05:30
|
|
|
webnotes.conn.sql("update `tabDocField` set options = 'BOM' where fieldname = 'bom_no' and parent = 'Stock Entry'")
|
2012-03-21 16:02:44 +05:30
|
|
|
|
2012-04-02 14:06:46 +05:30
|
|
|
from webnotes.modules import reload_doc
|
2012-03-21 16:02:44 +05:30
|
|
|
reload_doc('stock', 'doctype', 'stock_entry')
|