brotherton-erpnext/erpnext/setup/page/modules_setup/modules_setup.py

8 lines
204 B
Python
Raw Normal View History

2012-02-28 13:26:56 +00:00
import webnotes
@webnotes.whitelist()
def update(arg=None):
"""update modules"""
webnotes.conn.set_global('modules_list', webnotes.form_dict['ml'])
webnotes.msgprint('Updated')
webnotes.clear_cache()