fix: reload question doctype in patch

This commit is contained in:
Jannat Patel
2023-04-10 22:35:33 +05:30
parent 9f525d69b6
commit 0a91e5aa05
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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: