brotherton-erpnext/erpnext/patches/reload_rv.py

10 lines
276 B
Python
Raw Normal View History

2011-12-06 09:40:48 +00:00
def execute():
import webnotes
from webnotes.modules.module_manager import reload_doc
from webnotes.model.code import get_obj
2011-12-06 09:40:48 +00:00
reload_doc('accounts', 'doctype', 'receivable_voucher')
reload_doc('setup', 'doctype', 'features_setup')
get_obj('Features setup').validate()