[Vtigercrm-developers] VT6 vtlib -> calendar

Alan Lord alanslists at gmail.com
Thu Mar 20 09:01:32 GMT 2014


FOUND IT!

In layouts/vlayout/modules/Vtiger/resources/Detail.js

around line 220:

> 	referenceFieldNames : {
> 		'Accounts' : 'parent_id',
> 		'Contacts' : 'contact_id',
> 		'Leads' : 'parent_id',
> 		'Potentials' : 'parent_id',
> 		'HelpDesk' : 'parent_id'
> 	},


I added my module to this list and now seems to be working.

But question is, why? This seems a rather arbitrary bit of "hardcoding"?

I assume I can just copy Detail.js to my module's resource directory and 
add my override in there?

Thanks

Al





More information about the vtigercrm-developers mailing list