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

7 lines
240 B
Python

from __future__ import unicode_literals
def execute():
import webnotes
from webnotes.model import delete_doc
delete_doc('DocType', 'About Us Team')
delete_doc('DocType', 'About Us Settings')
delete_doc('DocType', 'Contact Us Settings')