feat: configure sidebar items

This commit is contained in:
Jannat Patel
2024-05-29 17:16:09 +05:30
parent e6d58721f0
commit 1e69ff7de8
13 changed files with 264 additions and 23 deletions

View File

@@ -0,0 +1,15 @@
import frappe
def execute():
fields = [
"courses",
"batches",
"certified_participants",
"jobs",
"statistics",
"notifications",
]
for field in fields:
frappe.db.set_single_value("LMS Settings", field, 1)