refactor: build file and patch
This commit is contained in:
@@ -17,4 +17,4 @@ execute:frappe.delete_doc("DocType", "Chapters") #06-10-2021
|
||||
execute:frappe.delete_doc("DocType", "Lessons") #06-10-2021
|
||||
execute:frappe.delete_doc("DocType", "Chapter") #06-10-2021
|
||||
execute:frappe.delete_doc("DocType", "Lesson") #06-10-2021
|
||||
execute:frappe.delete_doc("DocType", "LMS Topic") #06-10-2021
|
||||
execute:frappe.delete_doc("DocType", "LMS Topic") #06-10-2021
|
||||
11
school/patches/v0_0/modify_installed_apps_list.py
Normal file
11
school/patches/v0_0/modify_installed_apps_list.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
from frappe.installer import add_to_installed_apps, remove_from_installed_apps
|
||||
|
||||
def execute():
|
||||
|
||||
if "community" in frappe.db.get_global("installed_apps"):
|
||||
remove_from_installed_apps("community")
|
||||
add_to_installed_apps("school")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user