Skip to content

EspoCRM – Open Source CRM Application

mass update: do not list disabled fields

Yuri Kuznetsov419481b8a144
diff --git a/client/src/views/modals/mass-update.js b/client/src/views/modals/mass-update.js
index e8ae0d54a5..3d10866c3d 100644
--- a/client/src/views/modals/mass-update.js
+++ b/client/src/views/modals/mass-update.js
@@ -110,7 +110,10 @@ class MassUpdateModalView extends ModalView {
this.fieldList = [];
layout.forEach(field => {
- if (forbiddenList.includes(field)) {
+ if (
+ forbiddenList.includes(field) ||
+ this.getMetadata().get(`entityDefs.${this.entityType}.fields.${field}.disabled`)
+ ) {
return;
}