fix: instructor patch
This commit is contained in:
@@ -2,6 +2,7 @@ import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc("lms", "doctype", "lms_course")
|
||||
frappe.reload_doc("lms", "doctype", "course_instructor")
|
||||
courses = frappe.get_all("LMS Course", fields=["name", "instructor"])
|
||||
for course in courses:
|
||||
doc = frappe.get_doc({
|
||||
|
||||
Reference in New Issue
Block a user