brotherton-erpnext/erpnext/patches/reload_support_ticket.py
2011-12-27 17:44:30 +05:30

7 lines
230 B
Python

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()