diff --git a/erpnext/patches/v7_1/set_student_guardian.py b/erpnext/patches/v7_1/set_student_guardian.py index 52fb3097ca..7eac23bfd8 100644 --- a/erpnext/patches/v7_1/set_student_guardian.py +++ b/erpnext/patches/v7_1/set_student_guardian.py @@ -4,6 +4,7 @@ def execute(): if frappe.db.exists("DocType", "Guardian"): frappe.reload_doc("schools", "doctype", "student") frappe.reload_doc("schools", "doctype", "student_guardian") + frappe.reload_doc("schools", "doctype", "student_sibling") guardian = frappe.get_all("Guardian", fields=["name", "student"]) for d in guardian: if d.student: