@frappe.whitelist()
def get_assessment_details(assessment_plan):
 return frappe.get_list(u'Assessment Evaluation Criteria', fields=[u'evaluation_criteria', u'maximum_score'], filters={u'parent': assessment_plan}, order_by=u'idx')

@ frappe . whitelist ( ) def get_assessment_details ( assessment_plan ) : return frappe . get_list ( u'Assessment Evaluation Criteria' , fields = [ u'evaluation_criteria' , u'maximum_score' ] , filters = { u'parent' : assessment_plan } , order_by = u'idx' )
returns evaluation criteria and maximum score from assessment plan master .