brotherton-erpnext/erpnext/patches/reload_doclayer.py

9 lines
275 B
Python
Raw Normal View History

"""
Reload DocLayer, DocLayerField and Print Format doctypes
"""
def execute():
from webnotes.modules.module_manager import reload_doc
reload_doc('core', 'doctype', 'print_format')
reload_doc('core', 'doctype', 'doclayer')
reload_doc('core', 'doctype', 'doclayerfield')