brotherton-erpnext/patches/july_2012/deprecate_import_data_control.py

11 lines
277 B
Python
Raw Normal View History

from __future__ import unicode_literals
2012-07-03 09:15:03 +00:00
def execute():
"""
deprecate:
* doctype - import data control
* page - import data (old)
"""
import webnotes
from webnotes.model import delete_doc
delete_doc('DocType', 'Import Data Control')
delete_doc('Page', 'Import Data')