brotherton-erpnext/erpnext/patches/reload_support_ticket.py

7 lines
230 B
Python
Raw Normal View History

2011-12-27 12:14:30 +00:00
def execute():
import webnotes
from webnotes.modules.module_manager import reload_doc
reload_doc('Support', 'DocType', 'Support Ticket')
from webnotes.model.code import get_obj
get_obj('DocType', 'Support Ticket').validate()