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 271a5da9..e44e3e20 100644 --- a/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.py +++ b/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.py @@ -24,7 +24,7 @@ def get_fields_layout(doctype: str, type: str, parent_doctype: str | None = None if layout and layout.layout: tabs = json.loads(layout.layout) - if not tabs: + if not tabs and type != "Required Fields": tabs = get_default_layout(doctype) has_tabs = tabs[0].get("sections") if tabs and tabs[0] else False