EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
createDisabled check
Yuriifbab0a980304
diff --git a/client/src/views/record/detail.js b/client/src/views/record/detail.jsindex d875d84712..77448345d5 100644--- a/client/src/views/record/detail.js+++ b/client/src/views/record/detail.js@@ -846,7 +846,8 @@ class DetailRecordView extends BaseRecordView {if (this.duplicateAction) {if (this.getAcl().check(this.entityType, 'create') &&- !this.getMetadata().get(['clientDefs', this.scope, 'duplicateDisabled'])+ !this.getMetadata().get(['clientDefs', this.scope, 'duplicateDisabled']) &&+ !this.getMetadata().get(['clientDefs', this.scope, 'createDisabled'])) {this.addDropdownItem({label: 'Duplicate',