From b930dfa74cc62a88b3dfe183c02fee97364e6f04 Mon Sep 17 00:00:00 2001 From: Vishal Dhayagude Date: Wed, 6 Dec 2017 18:03:21 +0530 Subject: [PATCH] [fix] fix patch failed erpnext/patches/v7_2/make_all_assessment_group.py (#11864) --- erpnext/patches/v7_2/make_all_assessment_group.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v7_2/make_all_assessment_group.py b/erpnext/patches/v7_2/make_all_assessment_group.py index 769e503f6d..f3ec628374 100644 --- a/erpnext/patches/v7_2/make_all_assessment_group.py +++ b/erpnext/patches/v7_2/make_all_assessment_group.py @@ -6,6 +6,7 @@ import frappe def execute(): if not frappe.db.exists({"doctype": "Assessment Group","assessment_group_name": "All Assessment Groups"}): + frappe.reload_doc("education", "doctype", "assessment_group") doc = frappe.new_doc("Assessment Group") doc.assessment_group_name = "All Assessment Groups" doc.is_group = 1