2012-07-19 08:10:31 +00:00
|
|
|
from __future__ import unicode_literals
|
2012-03-20 08:56:14 +00:00
|
|
|
def execute():
|
|
|
|
import webnotes
|
2012-04-02 08:36:46 +00:00
|
|
|
from webnotes.modules import reload_doc
|
2012-03-20 08:56:14 +00:00
|
|
|
reload_doc('stock', 'doctype', 'stock_entry')
|
|
|
|
|
|
|
|
webnotes.conn.sql("update `tabDocField` set options = concat(options, '\nOthers') where fieldname = 'purpose' and parent = 'Stock Entry'")
|