Skip to content

EspoCRM – Open Source CRM Application

audited fields

Yuri Kuznetsov15ff1dc6ebc8
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Account.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Account.json
index 4b6dc45061..f6723076f1 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Account.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Account.json
@@ -23,7 +23,8 @@
"type": {
"type": "enum",
"options": ["", "Customer", "Investor", "Partner", "Reseller"],
- "customizationOptionsReferenceDisabled": true
+ "customizationOptionsReferenceDisabled": true,
+ "audited": true
},
"industry": {
"type": "enum",
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Campaign.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Campaign.json
index 9bed743e71..7c065b47e1 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Campaign.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Campaign.json
@@ -22,7 +22,8 @@
"displayAsLabel": true,
"labelType": "state",
"customizationOptionsDisabled": true,
- "customizationOptionsReferenceDisabled": true
+ "customizationOptionsReferenceDisabled": true,
+ "audited": true
},
"type": {
"type": "enum",
@@ -38,19 +39,22 @@
"default": "Email",
"maxLength": 64,
"customizationOptionsDisabled": true,
- "customizationOptionsReferenceDisabled": true
+ "customizationOptionsReferenceDisabled": true,
+ "audited": true
},
"startDate": {
"type": "date",
"validatorClassNameList": [
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Campaign\\StartDate\\BeforeEndDate"
- ]
+ ],
+ "audited": true
},
"endDate": {
"type": "date",
"validatorClassNameList": [
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Campaign\\EndDate\\AfterStartDate"
- ]
+ ],
+ "audited": true
},
"description": {
"type": "text"
@@ -83,11 +87,13 @@
},
"assignedUser": {
"type": "link",
- "view": "views/fields/assigned-user"
+ "view": "views/fields/assigned-user",
+ "audited": true
},
"teams": {
"type": "linkMultiple",
- "view": "views/fields/teams"
+ "view": "views/fields/teams",
+ "audited": true
},
"targetLists": {
"type": "linkMultiple",
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Document.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Document.json
index 9595e465b8..7f23dff514 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Document.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Document.json
@@ -102,7 +102,8 @@
},
"assignedUser": {
"type": "link",
- "view": "views/fields/assigned-user"
+ "view": "views/fields/assigned-user",
+ "audited": true
},
"teams": {
"type": "linkMultiple",
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseArticle.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseArticle.json
index c6221470bc..deb1b31176 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseArticle.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseArticle.json
@@ -28,13 +28,15 @@
}
],
"activeOptions": ["Published"],
- "customizationOptionsReferenceDisabled": true
+ "customizationOptionsReferenceDisabled": true,
+ "audited": true
},
"language": {
"type": "enum",
"view": "crm:views/knowledge-base-article/fields/language",
"customizationOptionsDisabled": true,
- "customizationOptionsReferenceDisabled": true
+ "customizationOptionsReferenceDisabled": true,
+ "audited": true
},
"type": {
"type": "enum",
@@ -43,14 +45,17 @@
},
"portals": {
"type": "linkMultiple",
- "tooltip": true
+ "tooltip": true,
+ "audited": true
},
"publishDate": {
- "type": "date"
+ "type": "date",
+ "audited": true
},
"expirationDate": {
"type": "date",
- "after": "publishDate"
+ "after": "publishDate",
+ "audited": true
},
"order": {
"type": "int",
@@ -86,7 +91,8 @@
},
"assignedUser": {
"type": "link",
- "view": "views/fields/assigned-user"
+ "view": "views/fields/assigned-user",
+ "audited": true
},
"teams": {
"type": "linkMultiple",
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json
index a866925b83..25a300bfa3 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json
@@ -123,7 +123,8 @@
"isPersonalData": true
},
"doNotCall": {
- "type": "bool"
+ "type": "bool",
+ "audited": true
},
"description": {
"type": "text"
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Opportunity.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Opportunity.json
index f711d21959..2549f9c4f9 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Opportunity.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Opportunity.json
@@ -143,7 +143,8 @@
"view": "views/fields/currency-converted"
},
"account": {
- "type": "link"
+ "type": "link",
+ "audited": true
},
"contacts": {
"type": "linkMultiple",
@@ -205,7 +206,8 @@
"type": "enum",
"view": "crm:views/opportunity/fields/lead-source",
"customizationOptionsDisabled": true,
- "optionsReference": "Lead.source"
+ "optionsReference": "Lead.source",
+ "audited": true
},
"closeDate": {
"type": "date",
@@ -216,7 +218,8 @@
"type": "text"
},
"campaign": {
- "type": "link"
+ "type": "link",
+ "audited": true
},
"originalLead": {
"type": "linkOne",
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetList.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetList.json
index 793c48210f..4a58bfe48a 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetList.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetList.json
@@ -65,7 +65,8 @@
},
"assignedUser": {
"type": "link",
- "view": "views/fields/assigned-user"
+ "view": "views/fields/assigned-user",
+ "audited": true
},
"teams": {
"type": "linkMultiple",