[Vtigercrm-developers] VT6 vtlib -> calendar

Uma S uma.s at vtiger.com
Thu Mar 20 09:17:17 GMT 2014


Ok, That's Great!

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

No need of keeping entire copy of Detail.js in custom module.
Only initializing referenceFieldNames is enough.


On Thu, Mar 20, 2014 at 2:31 PM, Alan Lord <alanslists at gmail.com> wrote:

> 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
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140320/87a499b6/attachment.html>


More information about the vtigercrm-developers mailing list