brotherton-erpnext/erpnext/patches/jan_mar_2012/update_se_fld_options.py
2012-03-21 15:56:22 +05:30

4 lines
163 B
Python

def execute():
import webnotes
webnotes.conn.sql("update `tabDocField` set options = 'Bill Of Materials' where fieldname = 'bom_no' and parent = 'Stock Entry'")