brotherton-erpnext/erpnext/patches/april_2012/after_sync_cleanup.py

6 lines
219 B
Python
Raw Normal View History

2012-04-23 10:34:16 +00:00
def execute():
import webnotes
from webnotes.model import delete_doc
2012-04-26 07:43:10 +00:00
webnotes.conn.sql("update `tabDocType` set module = 'Utilities' where name in ('Question', 'Answer')")
2012-04-23 10:34:16 +00:00
delete_doc('Module Def', 'Knowledge Base')