From ff935b45860cc26e43abef045373753a41c0c864 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 13 Apr 2021 12:09:36 +0530 Subject: [PATCH] fix(minor): fix dynamically changing grid properties --- erpnext/healthcare/doctype/therapy_plan/therapy_plan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/healthcare/doctype/therapy_plan/therapy_plan.js b/erpnext/healthcare/doctype/therapy_plan/therapy_plan.js index 3bad65c312..42e231dc66 100644 --- a/erpnext/healthcare/doctype/therapy_plan/therapy_plan.js +++ b/erpnext/healthcare/doctype/therapy_plan/therapy_plan.js @@ -59,7 +59,7 @@ frappe.ui.form.on('Therapy Plan', { if (frm.doc.therapy_plan_template) { frm.fields_dict.therapy_plan_details.grid.update_docfield_property( - 'therapy_type', 'read_only', 1, + 'therapy_type', 'read_only', 1 ); frm.fields_dict.therapy_plan_details.grid.update_docfield_property( 'no_of_sessions', 'read_only', 1