brotherton-erpnext/erpnext/patches/july_2012/deprecate_import_data_control.py
2012-07-03 14:45:03 +05:30

10 lines
237 B
Python

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')