From a667643681966bf0968e92bd8aaeb4cc350d1cd8 Mon Sep 17 00:00:00 2001 From: pateljannat Date: Thu, 29 Jul 2021 13:43:31 +0530 Subject: [PATCH] fix: chapter lesson patch --- community/patches/v0_0/chapter_lesson_index_table.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/community/patches/v0_0/chapter_lesson_index_table.py b/community/patches/v0_0/chapter_lesson_index_table.py index 4202d307..cbb489fb 100644 --- a/community/patches/v0_0/chapter_lesson_index_table.py +++ b/community/patches/v0_0/chapter_lesson_index_table.py @@ -5,6 +5,8 @@ def execute(): frappe.reload_doc("lms", "doctype", "lms_course") frappe.reload_doc("lms", "doctype", "chapter") frappe.reload_doc("lms", "doctype", "lesson") + frappe.reload_doc("lms", "doctype", "lessons") + frappe.reload_doc("lms", "doctype", "chapters") update_chapters() update_lessons()