stock entry: new purpose others added in stock entry

This commit is contained in:
Nabin Hait 2012-03-20 14:26:14 +05:30
parent 31e0eacb7a
commit 547478f973

View File

@ -0,0 +1,6 @@
def execute():
import webnotes
from webnotes.modules.module_manager import reload_doc
reload_doc('stock', 'doctype', 'stock_entry')
webnotes.conn.sql("update `tabDocField` set options = concat(options, '\nOthers') where fieldname = 'purpose' and parent = 'Stock Entry'")