lead industry acl fix

This commit is contained in:
Yuri Kuznetsov
2022-09-15 10:09:37 +03:00
parent 9ef1c5928f
commit 8ee9a792fc
4 changed files with 12 additions and 12 deletions
@@ -4,6 +4,10 @@
"scope": "Opportunity",
"field": "leadSource"
},
"Account.options.industry": {
"scope": "Lead",
"field": "industry"
},
"Meeting": {
"scope": "Call"
}
@@ -3,6 +3,10 @@
"entityDefs.Lead.fields.source.options": {
"scope": "Opportunity",
"field": "leadSource"
},
"entityDefs.Account.fields.industry.options": {
"scope": "Lead",
"field": "industry"
}
},
"frontendHiddenPathList": [
@@ -66,6 +66,8 @@
"type": "enum",
"view": "crm:views/lead/fields/industry",
"customizationOptionsDisabled": true,
"optionsPath": "entityDefs.Account.fields.industry.options",
"translation": "Account.options.industry",
"default": "",
"isSorted": true
},
@@ -26,17 +26,7 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
Espo.define('crm:views/lead/fields/industry', 'views/fields/enum', function (Dep) {
return Dep.extend({
setup: function () {
this.params.options = this.getMetadata().get('entityDefs.Account.fields.industry.options');
this.params.translation = 'Account.options.industry';
Dep.prototype.setup.call(this);
}
});
define('crm:views/lead/fields/industry', ['views/fields/enum'], function (Dep) {
return Dep.extend({});
});