commit | 0ed33aa4e8fa3efc98e66bd061755dcca8715d2e | [log] [tgz] |
---|---|---|
author | Rucha Mahabal <ruchamahabal2@gmail.com> | Sat Jun 12 13:40:58 2021 +0530 |
committer | GitHub <noreply@github.com> | Sat Jun 12 13:40:58 2021 +0530 |
tree | 98e921e569decd15f8b4a52fb6ad60f3677a88c3 | |
parent | 348f04ca82635373935df6b28e3203e85f7d1e1a [diff] |
fix: unable to enter score in Assessment Result details grid (#25945)
diff --git a/erpnext/education/doctype/assessment_result/assessment_result.js b/erpnext/education/doctype/assessment_result/assessment_result.js index 617a873..c35f607 100644 --- a/erpnext/education/doctype/assessment_result/assessment_result.js +++ b/erpnext/education/doctype/assessment_result/assessment_result.js
@@ -6,7 +6,8 @@ if (!frm.doc.__islocal) { frm.trigger('setup_chart'); } - frm.set_df_property('details', 'read_only', 1); + + frm.get_field('details').grid.cannot_add_rows = true; frm.set_query('course', function() { return {