Hi,
In Appraisal list the final score is calculated as average of three different scores(KRA, Feedback_score and self_score) But I wrote a client script in which the feedback_score will alone be the final_score
frappe.ui.form.on(‘Appraisal’, {
refresh(frm) {
// your code here
if(frm.doc.avg_feedback_score){
frm.set_value(‘final_score’, frm.doc.avg_feedback_score);
}
}
});
The final score is set correctly but the issue is, It allows only to save the form repeatedly , it does’nt show the submit button