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

9 lines
244 B
Python
Raw Normal View History

from __future__ import unicode_literals
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()