Skip to content

EspoCRM – Open Source CRM Application

Foreign no not lockable

Yurii1d7d316c5026
diff --git a/client/src/views/admin/field-manager/edit.js b/client/src/views/admin/field-manager/edit.js
index fcc50010b8..0359768876 100644
--- a/client/src/views/admin/field-manager/edit.js
+++ b/client/src/views/admin/field-manager/edit.js
@@ -324,10 +324,12 @@ class FieldManagerEditView extends View {
this.isEntityTypeLockable &&
!this.globalRestriction.readOnly
) {
- this.paramList.push({
- name: 'notLockable',
- type: 'bool',
- });
+ if (this.type !== 'foreign') {
+ this.paramList.push({
+ name: 'notLockable',
+ type: 'bool',
+ });
+ }
}
if (this.hasTooltipText) {