brotherton-erpnext/erpnext/patches/v7_0/migrate_schools_to_erpnext.py
2016-07-20 19:25:02 +05:30

7 lines
253 B
Python

from __future__ import unicode_literals
import frappe
def execute():
frappe.db.sql("""update `tabDoctype` set module='Schools' where module='Academics'""")
from frappe.installer import remove_from_installed_apps
remove_from_installed_apps("schools")