brotherton-erpnext/erpnext/patches/reload_rv.py

9 lines
226 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')
get_obj('Features setup').validate()