diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Account.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Account.json index 2b5aba8273..4b6dc45061 100644 --- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Account.json +++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Account.json @@ -199,6 +199,8 @@ "layoutListDisabled": true, "importDisabled": true, "exportDisabled": true, + "directAccessDisabled": true, + "filtersEnabled": true, "noLoad": true }, "targetList": { diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Call.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Call.json index b9432bbe88..4d512bbcdb 100644 --- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Call.json +++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Call.json @@ -105,6 +105,7 @@ "customizationAuditedDisabled": true, "customizationOptionsReferenceDisabled": true, "directAccessDisabled": true, + "filtersEnabled": true, "where": { "=": { "whereClause": { diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json index cd5c801618..96133f3e81 100644 --- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json +++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json @@ -410,6 +410,8 @@ "type": "enum", "notStorable": true, "orderDisabled": true, + "directAccessDisabled": true, + "filtersEnabled": true, "directUpdateDisabled": true, "layoutAvailabilityList": ["filters"], "importDisabled": true, @@ -424,6 +426,8 @@ "notStorable": true, "orderDisabled": true, "directUpdateDisabled": true, + "directAccessDisabled": true, + "filtersEnabled": true, "layoutAvailabilityList": ["filters"], "importDisabled": true, "exportDisabled": true, @@ -474,6 +478,8 @@ "layoutDetailDisabled": true, "layoutListDisabled": true, "importDisabled": true, + "directAccessDisabled": true, + "filtersEnabled": true, "noLoad": true }, "targetList": { diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json index 4e5cd1fb59..a866925b83 100644 --- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json +++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json @@ -180,6 +180,8 @@ "notStorable": true, "orderDisabled": true, "directUpdateDisabled": true, + "directAccessDisabled": true, + "filtersEnabled": true, "layoutAvailabilityList": ["filters"], "importDisabled": true, "exportDisabled": true, @@ -193,6 +195,8 @@ "notStorable": true, "orderDisabled": true, "directUpdateDisabled": true, + "directAccessDisabled": true, + "filtersEnabled": true, "layoutAvailabilityList": ["filters"], "importDisabled": true, "exportDisabled": true, @@ -230,6 +234,8 @@ "layoutDetailDisabled": true, "layoutListDisabled": true, "importDisabled": true, + "directAccessDisabled": true, + "filtersEnabled": true, "noLoad": true }, "targetList": { diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Meeting.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Meeting.json index 7e22655c25..4947de8cae 100644 --- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Meeting.json +++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Meeting.json @@ -117,6 +117,7 @@ "customizationAuditedDisabled": true, "customizationOptionsReferenceDisabled": true, "directAccessDisabled": true, + "filtersEnabled": true, "where": { "=": { "whereClause": { diff --git a/schema/metadata/entityDefs.json b/schema/metadata/entityDefs.json index 91ae353988..30fbf2475c 100644 --- a/schema/metadata/entityDefs.json +++ b/schema/metadata/entityDefs.json @@ -1029,6 +1029,10 @@ "type": "boolean", "description": "Indicates that access to the field through a link is not feasible." }, + "filtersEnabled": { + "type": "boolean", + "description": "Indicates that the field can be used in filters regardless directAccessDisabled being true. To be used only with directAccessDisabled." + }, "importDisabled": { "type": "boolean", "description": "Disables the ability to import the field."