From ab1ee1e6fc052f9182ad2e17244dde989e86e065 Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Mon, 30 Jan 2017 16:40:14 +0530 Subject: [PATCH] Patch fix for Update Assessment Module Patch --- erpnext/patches/v7_2/update_assessment_modules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v7_2/update_assessment_modules.py b/erpnext/patches/v7_2/update_assessment_modules.py index 2ea9f6eea9..550292e184 100644 --- a/erpnext/patches/v7_2/update_assessment_modules.py +++ b/erpnext/patches/v7_2/update_assessment_modules.py @@ -30,6 +30,7 @@ def execute(): assessment_result.grading_scale = assessment.grading_scale assessment_result.total_score = stud_result.result assessment_result.flags.ignore_validate = True + assessment_result.flags.ignore_mandatory = True assessment_result.save() frappe.db.sql("""delete from `tabAssessment Result` where parent != '' or parent is not null""") \ No newline at end of file