brotherton-erpnext/setup/page/modules_setup/modules_setup.py
2012-09-24 19:13:42 +05:30

9 lines
244 B
Python

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