7 lines
267 B
Python
7 lines
267 B
Python
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')
|