Merge pull request #5819 from neilLasrado/develop
Fixed patch for migrating schools to erpnext again
This commit is contained in:
commit
744d77466c
@ -6,7 +6,7 @@ def execute():
|
||||
frappe.get_doc('Portal Settings', 'Portal Settings').sync_menu()
|
||||
if 'schools' in frappe.get_installed_apps():
|
||||
frappe.db.sql("""delete from `tabDesktop Icon`""")
|
||||
frappe.db.sql("""update `tabDoctype` set module='Schools' where module='Academics'""")
|
||||
frappe.db.sql("""update `tabDocType` set module='Schools' where module='Academics'""")
|
||||
from frappe.installer import remove_from_installed_apps
|
||||
remove_from_installed_apps("schools")
|
||||
domainify.setup_domain('Education')
|
||||
|
Loading…
Reference in New Issue
Block a user