From 3b8109780fdb34ac000c63783dba3b260114074d Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 1 Aug 2016 17:59:00 +0530 Subject: [PATCH] [patch] reload guardian interest --- erpnext/patches/v7_0/make_guardian.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v7_0/make_guardian.py b/erpnext/patches/v7_0/make_guardian.py index f2d0cf7c8b..15b9bd15b2 100644 --- a/erpnext/patches/v7_0/make_guardian.py +++ b/erpnext/patches/v7_0/make_guardian.py @@ -5,6 +5,7 @@ def execute(): if frappe.db.exists("DocType", "Student") and "father_name" in frappe.db.get_table_columns("Student"): frappe.reload_doc("schools", "doctype", "student") frappe.reload_doc("schools", "doctype", "guardian") + frappe.reload_doc("schools", "doctype", "guardian_interest") students = frappe.get_all("Student", fields=["name", "father_name", "father_email_id", "mother_name", "mother_email_id"])