diff --git a/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.py b/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.py index a20138c0..23552e5c 100644 --- a/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.py +++ b/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.py @@ -52,6 +52,7 @@ def get_fields_layout(doctype: str, type: str): "type": field.fieldtype, "options": getOptions(field), "mandatory": field.reqd, + "read_only": field.read_only, "placeholder": field.get("placeholder"), "filters": field.get("link_filters"), } diff --git a/frontend/src/components/FieldLayout.vue b/frontend/src/components/FieldLayout.vue index b68b4e51..3fc2621d 100644 --- a/frontend/src/components/FieldLayout.vue +++ b/frontend/src/components/FieldLayout.vue @@ -108,7 +108,13 @@ />