EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
kanban createDisabled
Yuri Kuznetsov080a7864b5c5
diff --git a/client/src/views/record/kanban.js b/client/src/views/record/kanban.jsindex 6ab5758ddd..99d18942f6 100644--- a/client/src/views/record/kanban.js+++ b/client/src/views/record/kanban.js@@ -416,7 +416,9 @@ class KanbanRecordView extends ListRecordView {if ('canCreate' in this.options) {this.isCreatable = this.options.canCreate;} else {- this.isCreatable = this.statusFieldIsEditable && this.getAcl().check(this.entityType, 'create');+ this.isCreatable = this.statusFieldIsEditable &&+ this.getAcl().check(this.entityType, 'create') &&+ !this.getMetadata().get(`clientDefs.${this.scope}.createDisabled`);}/** @private */