brotherton-erpnext/erpnext/patches/before_jan_2012/reload_rv.py

10 lines
276 B
Python

def execute():
import webnotes
from webnotes.modules.module_manager import reload_doc
from webnotes.model.code import get_obj
reload_doc('accounts', 'doctype', 'receivable_voucher')
reload_doc('setup', 'doctype', 'features_setup')
get_obj('Features setup').validate()