diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json index 3e115c5bdd..6487bd6ba2 100644 --- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json +++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json @@ -131,6 +131,7 @@ "layoutDetailDisabled": true, "layoutListDisabled": true, "layoutMassUpdateDisabled": true, + "importDisabled": true, "noLoad": true }, "targetList": { diff --git a/frontend/client/src/views/import/detail.js b/frontend/client/src/views/import/detail.js index a92925c2b6..91f66a7b40 100644 --- a/frontend/client/src/views/import/detail.js +++ b/frontend/client/src/views/import/detail.js @@ -19,7 +19,7 @@ * along with EspoCRM. If not, see http://www.gnu.org/licenses/. ************************************************************************/ -Espo.define('Views.Import.Detail', 'Views.Detail', function (Dep) { +Espo.define('views/import/detail', 'views/detail', function (Dep) { return Dep.extend({ diff --git a/frontend/client/src/views/import/index.js b/frontend/client/src/views/import/index.js index 8688a6518e..c068a770f8 100644 --- a/frontend/client/src/views/import/index.js +++ b/frontend/client/src/views/import/index.js @@ -18,11 +18,11 @@ * You should have received a copy of the GNU General Public License * along with EspoCRM. If not, see http://www.gnu.org/licenses/. ************************************************************************/ -Espo.define('Views.Import.Index', 'View', function (Dep) { +Espo.define('views/import/index', 'view', function (Dep) { return Dep.extend({ - template: 'import.index', + template: 'import/index', data: function () { return { diff --git a/frontend/client/src/views/import/list.js b/frontend/client/src/views/import/list.js index e611a9d83f..72287915bc 100644 --- a/frontend/client/src/views/import/list.js +++ b/frontend/client/src/views/import/list.js @@ -19,7 +19,7 @@ * along with EspoCRM. If not, see http://www.gnu.org/licenses/. ************************************************************************/ -Espo.define('Views.Import.List', 'Views.List', function (Dep) { +Espo.define('views/import/list', 'views/list', function (Dep) { return Dep.extend({ diff --git a/frontend/client/src/views/import/step1.js b/frontend/client/src/views/import/step1.js index 55e5a61b80..4a1b3dbb3c 100644 --- a/frontend/client/src/views/import/step1.js +++ b/frontend/client/src/views/import/step1.js @@ -18,11 +18,12 @@ * You should have received a copy of the GNU General Public License * along with EspoCRM. If not, see http://www.gnu.org/licenses/. ************************************************************************/ -Espo.define('Views.Import.Step1', 'View', function (Dep) { + +Espo.define('views/import/step1', 'view', function (Dep) { return Dep.extend({ - template: 'import.step-1', + template: 'import/step-1', events: { 'change #import-file': function (e) { diff --git a/frontend/client/src/views/import/step2.js b/frontend/client/src/views/import/step2.js index 1c839948a1..0877245f20 100644 --- a/frontend/client/src/views/import/step2.js +++ b/frontend/client/src/views/import/step2.js @@ -18,11 +18,12 @@ * You should have received a copy of the GNU General Public License * along with EspoCRM. If not, see http://www.gnu.org/licenses/. ************************************************************************/ -Espo.define('Views.Import.Step2', 'View', function (Dep) { + +Espo.define('views/import/step2', 'view', function (Dep) { return Dep.extend({ - template: 'import.step-2', + template: 'import/step-2', events: { 'click button[data-action="back"]': function () {