From 5bb2f56b473cd93a784c8bf40df3e7addcd2b5cb Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Tue, 2 Aug 2016 00:01:00 +0530 Subject: [PATCH] Update make_guardian.py --- 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 15b9bd15b2..f654b796f4 100644 --- a/erpnext/patches/v7_0/make_guardian.py +++ b/erpnext/patches/v7_0/make_guardian.py @@ -6,6 +6,7 @@ def execute(): frappe.reload_doc("schools", "doctype", "student") frappe.reload_doc("schools", "doctype", "guardian") frappe.reload_doc("schools", "doctype", "guardian_interest") + frappe.reload_doc("hr", "doctype", "interest") students = frappe.get_all("Student", fields=["name", "father_name", "father_email_id", "mother_name", "mother_email_id"])