brotherton-erpnext/erpnext/patches/april_2012/after_sync_cleanup.py
2012-04-26 13:13:10 +05:30

6 lines
219 B
Python

def execute():
import webnotes
from webnotes.model import delete_doc
webnotes.conn.sql("update `tabDocType` set module = 'Utilities' where name in ('Question', 'Answer')")
delete_doc('Module Def', 'Knowledge Base')