brotherton-erpnext/erpnext/patches/reload_rv.py

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