Skip to content

EspoCRM – Open Source CRM Application

category parent use view

Yuri Kuznetsovb16f126152ef
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/DocumentFolder.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/DocumentFolder.json
index 0973fc0bdb..ec027ff93c 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/DocumentFolder.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/DocumentFolder.json
@@ -37,7 +37,8 @@
"view": "views/fields/teams"
},
"parent": {
- "type": "link"
+ "type": "link",
+ "view": "views/fields/link-category-tree"
},
"childList": {
"type": "jsonArray",
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseCategory.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseCategory.json
index a5a467e01c..e22f8b0079 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseCategory.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseCategory.json
@@ -44,7 +44,8 @@
"view": "views/fields/teams"
},
"parent": {
- "type": "link"
+ "type": "link",
+ "view": "views/fields/link-category-tree"
},
"childList": {
"type": "jsonArray",
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetListCategory.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetListCategory.json
index efabe4af36..45d6a77ff1 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetListCategory.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetListCategory.json
@@ -33,7 +33,8 @@
"type": "linkMultiple"
},
"parent": {
- "type": "link"
+ "type": "link",
+ "view": "views/fields/link-category-tree"
},
"childList": {
"type": "jsonArray",
diff --git a/application/Espo/Resources/metadata/entityDefs/EmailTemplateCategory.json b/application/Espo/Resources/metadata/entityDefs/EmailTemplateCategory.json
index 41ab5fcdc7..3a0d03dc33 100644
--- a/application/Espo/Resources/metadata/entityDefs/EmailTemplateCategory.json
+++ b/application/Espo/Resources/metadata/entityDefs/EmailTemplateCategory.json
@@ -33,7 +33,8 @@
"type": "linkMultiple"
},
"parent": {
- "type": "link"
+ "type": "link",
+ "view": "views/fields/link-category-tree"
},
"childList": {
"type": "jsonArray",