brotherton-erpnext/erpnext/patches/reload_lc_wizard.py

10 lines
314 B
Python
Raw Normal View History

2011-11-16 10:50:37 +00:00
def execute():
import webnotes
from webnotes.modules.module_manager import reload_doc
from webnotes.model import delete_doc
delete_doc('DocType', 'Landed Cost Wizard')
2011-11-17 11:29:29 +00:00
delete_doc('DocType', 'LC PR Detail')
2011-11-16 10:50:37 +00:00
reload_doc('stock', 'doctype', 'landed_cost_wizard')
reload_doc('stock', 'doctype', 'lc_pr_detail')