From fb1e4acd601ef609f24a1703da7e547bd2ada043 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 4 May 2023 16:51:20 +0300 Subject: [PATCH] remove default empty string --- .../Modules/Crm/Resources/metadata/entityDefs/Contact.json | 6 ++---- .../Modules/Crm/Resources/metadata/entityDefs/Lead.json | 7 ++----- .../Espo/Resources/metadata/entityDefs/Preferences.json | 3 +-- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json index ff062c83c5..05d832f9d6 100644 --- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json +++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json @@ -10,14 +10,12 @@ }, "firstName": { "type": "varchar", - "maxLength": 100, - "default": "" + "maxLength": 100 }, "lastName": { "type": "varchar", "maxLength": 100, - "required": true, - "default": "" + "required": true }, "accountAnyId": { "notStorable": true, diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json index 6ac36e6c97..bea301295b 100644 --- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json +++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json @@ -15,13 +15,11 @@ }, "firstName": { "type": "varchar", - "maxLength": 100, - "default": "" + "maxLength": 100 }, "lastName": { "type": "varchar", - "maxLength": 100, - "default": "" + "maxLength": 100 }, "title": { "type": "varchar", @@ -67,7 +65,6 @@ "view": "crm:views/lead/fields/industry", "customizationOptionsDisabled": true, "optionsReference": "Account.industry", - "default": "", "isSorted": true }, "opportunityAmount": { diff --git a/application/Espo/Resources/metadata/entityDefs/Preferences.json b/application/Espo/Resources/metadata/entityDefs/Preferences.json index 2341db19bf..25bfb400a7 100644 --- a/application/Espo/Resources/metadata/entityDefs/Preferences.json +++ b/application/Espo/Resources/metadata/entityDefs/Preferences.json @@ -113,8 +113,7 @@ }, "signature": { "type": "wysiwyg", - "view": "views/preferences/fields/signature", - "default": "" + "view": "views/preferences/fields/signature" }, "defaultReminders": { "type": "jsonArray",