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

8 lines
255 B
Python

from __future__ import unicode_literals
def execute():
import webnotes
from webnotes.model import delete_doc
delete_doc('DocType', 'Bulk Rename Tool')
webnotes.conn.commit()
webnotes.conn.sql("drop table `tabBulk Rename Tool`")
webnotes.conn.begin()