EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
layout mass update filter fields
Yuri Kuznetsove635a28f16c3
diff --git a/client/src/views/admin/layouts/mass-update.js b/client/src/views/admin/layouts/mass-update.jsindex 96fac1cc7e..02f78dccaf 100644--- a/client/src/views/admin/layouts/mass-update.js+++ b/client/src/views/admin/layouts/mass-update.js@@ -52,7 +52,7 @@ class LayoutMassUpdateView extends LayoutRowsView {}loadLayout(callback) {- this.getModelFactory().create(this.scope, (model) => {+ this.getModelFactory().create(this.scope).then(model => {this.getHelper().layoutManager.getOriginal(this.scope, this.type, this.setId, (layout) => {const allFields = [];@@ -60,7 +60,9 @@ class LayoutMassUpdateView extends LayoutRowsView {if (!model.getFieldParam(field, 'massUpdateDisabled') &&!model.getFieldParam(field, 'readOnly') &&- this.isFieldEnabled(model, field)+ !model.getFieldParam(field, 'readOnlyAfterCreate') &&+ this.isFieldEnabled(model, field) &&+ model.getFieldType('field') !== 'foreign') {allFields.push(field);}