commit | 7f64f623f0ad7a7467c6334db55fd25d0ca27743 | [log] [tgz] |
---|---|---|
author | Manas Solanki <manassolanki@gmail.com> | Wed Jun 21 12:08:23 2017 +0530 |
committer | Manas Solanki <manassolanki@gmail.com> | Wed Jun 21 12:08:23 2017 +0530 |
tree | d547c3bd019a89a5e544e518ccaf0e865b849396 | |
parent | eb08cce825145a3a476bc191449c5846468d0b49 [diff] |
Trigger assessment plan every time page loads
diff --git a/erpnext/schools/doctype/assessment_result_tool/assessment_result_tool.js b/erpnext/schools/doctype/assessment_result_tool/assessment_result_tool.js index 3cadea6..a2eecef 100644 --- a/erpnext/schools/doctype/assessment_result_tool/assessment_result_tool.js +++ b/erpnext/schools/doctype/assessment_result_tool/assessment_result_tool.js
@@ -6,6 +6,7 @@ frappe.ui.form.on('Assessment Result Tool', { refresh: function(frm) { + frm.trigger("assessment_plan"); if (frappe.route_options) { frm.set_value("student_group", frappe.route_options.student_group); frm.set_value("assessment_plan", frappe.route_options.assessment_plan);