brotherton-erpnext/patches/april_2012/after_sync_cleanup.py
2012-09-24 19:13:42 +05:30

7 lines
259 B
Python

from __future__ import unicode_literals
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')