feat: new tab and other misc fixes

This commit is contained in:
Jannat Patel
2024-04-17 10:36:48 +05:30
parent 255990b022
commit b98f6369ae
10 changed files with 71 additions and 15 deletions

View File

@@ -0,0 +1,10 @@
import frappe
def execute():
courses = frappe.get_all(
"LMS Course", filters={"published": 1}, fields=["name", "creation"]
)
for course in courses:
frappe.db.set_value("LMS Course", course.name, "published_on", course.creation)