mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
fix(minor): fix dynamically changing grid properties
This commit is contained in:
@@ -59,7 +59,7 @@ frappe.ui.form.on('Therapy Plan', {
|
|||||||
|
|
||||||
if (frm.doc.therapy_plan_template) {
|
if (frm.doc.therapy_plan_template) {
|
||||||
frm.fields_dict.therapy_plan_details.grid.update_docfield_property(
|
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(
|
frm.fields_dict.therapy_plan_details.grid.update_docfield_property(
|
||||||
'no_of_sessions', 'read_only', 1
|
'no_of_sessions', 'read_only', 1
|
||||||
|
|||||||
Reference in New Issue
Block a user