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

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