After upgrade to 3.5.1 custom class stop working.
Eg. I change in clientDefts/Account.json code to:
and in client/custom/src/views/account/detail.js I have:
what's wrong?
Eg. I change in clientDefts/Account.json code to:
Code:
{ "controller": "controllers/record", "views":{ "detail":"Custom:Account.Detail" }, "relationshipPanels":{ "contacts":{ "actions":[ ], "layout":"listForAccount" }, "campaignLogRecords": { "rowActionsView": "Record.RowActions.Empty", "select": false, "create": false } }, "boolFilterList": ["onlyMy"], "additionalLayouts": { "detailConvert": { "type": "detail" } } }
and in client/custom/src/views/account/detail.js I have:
Code:
Espo.define('Custom:Account.Detail', 'Views.Detail', function (Dep) { return Dep.extend({ relatedAttributeMap: { 'contacts': { 'billingAddressCity': 'addressCity', 'billingAddressStreet': 'addressStreet', 'billingAddressPostalCode': 'addressPostalCode', 'billingAddressState': 'addressState', 'billingAddressCountry': 'addressCountry', 'id': 'accountId', 'name': 'accountName' }, }, }); });
what's wrong?
Comment