brotherton-erpnext/patches/july_2012/deprecate_bulk_rename.py

11 lines
369 B
Python
Raw Normal View History

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
2012-07-23 07:40:33 +00:00
from __future__ import unicode_literals
2012-07-20 12:41:41 +00:00
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()