Patch fix for Update Assessment Module Patch

This commit is contained in:
Neil Trini Lasrado 2017-01-30 16:40:14 +05:30
parent 80ca65c166
commit ab1ee1e6fc

View File

@ -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""")