[fix] No module namd student_batch_name.student_batch_name error in the patch (#10745)
This commit is contained in:
parent
e5716e3b1e
commit
38830e54d8
@ -9,7 +9,8 @@ from frappe.model.mapper import get_mapped_doc
|
|||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
# for converting student batch into student group
|
# for converting student batch into student group
|
||||||
for doctype in ["Student Group", "Student Group Student", "Student Group Instructor", "Student Attendance", "Student"]:
|
for doctype in ["Student Group", "Student Group Student",
|
||||||
|
"Student Group Instructor", "Student Attendance", "Student", "Student Batch Name"]:
|
||||||
frappe.reload_doc("schools", "doctype", frappe.scrub(doctype))
|
frappe.reload_doc("schools", "doctype", frappe.scrub(doctype))
|
||||||
|
|
||||||
if frappe.db.table_exists("Student Batch"):
|
if frappe.db.table_exists("Student Batch"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user