contact role options reference
This commit is contained in:
@@ -239,7 +239,8 @@
|
||||
"relationName": "contactOpportunity",
|
||||
"nearKey": "opportunityId"
|
||||
},
|
||||
"view": "crm:views/opportunity/fields/contact-role"
|
||||
"view": "crm:views/opportunity/fields/contact-role",
|
||||
"optionsReference": "Contact.opportunityRole"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
|
||||
@@ -31,12 +31,5 @@ define('crm:views/opportunity/fields/contact-role', ['views/fields/enum'], funct
|
||||
return Dep.extend({
|
||||
|
||||
searchTypeList: ['anyOf', 'noneOf'],
|
||||
|
||||
setup: function () {
|
||||
this.params.options = this.getMetadata().get('entityDefs.Contact.fields.opportunityRole.options');
|
||||
this.params.translation = 'Contact.options.opportunityRole';
|
||||
|
||||
Dep.prototype.setup.call(this);
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user