fix: reload question doctype in patch
This commit is contained in:
@@ -48,7 +48,7 @@ lms.patches.v0_0.user_singles_issue #23-11-2022
|
||||
lms.patches.v0_0.rename_community_to_users #06-01-2023
|
||||
lms.patches.v0_0.video_embed_link
|
||||
lms.patches.v0_0.rename_exercise_doctype
|
||||
lms.patches.v0_0.add_question_type
|
||||
lms.patches.v0_0.add_question_type #09-04-2023
|
||||
lms.patches.v0_0.add_evaluator_to_assignment
|
||||
lms.patches.v0_0.convert_lesson_markdown_to_html #05-04-2023
|
||||
lms.patches.v0_0.convert_course_description_to_html
|
||||
@@ -2,6 +2,7 @@ import frappe
|
||||
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc("lms", "doctype", "lms_quiz_question")
|
||||
questions = frappe.get_all("LMS Quiz Question", pluck="name")
|
||||
|
||||
for question in questions:
|
||||
|
||||
Reference in New Issue
Block a user