4 lines
180 B
Python
Raw Normal View History

2012-03-21 11:02:50 +05:30
def execute():
import webnotes
webnotes.conn.sql("update `tabDocField` set options = replace(options, 'Others', 'Other') where fieldname = 'purpose' and parent = 'Stock Entry'")