<div dir="ltr">Ok, That's Great! <div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">I assume I can just copy Detail.js to my module's resource directory and add my override in there?</span><br>

</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">No need of keeping entire copy of Detail.js in custom module. Only initializing </font><span style="font-family:arial,sans-serif;font-size:13px">referenceFieldNames is enough.</span></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 20, 2014 at 2:31 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">FOUND IT!<br>
<br>
In layouts/vlayout/modules/<u></u>Vtiger/resources/Detail.js<br>
<br>
around line 220:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        referenceFieldNames : {<br>
                'Accounts' : 'parent_id',<br>
                'Contacts' : 'contact_id',<br>
                'Leads' : 'parent_id',<br>
                'Potentials' : 'parent_id',<br>
                'HelpDesk' : 'parent_id'<br>
        },<br>
</blockquote>
<br>
<br>
I added my module to this list and now seems to be working.<br>
<br>
But question is, why? This seems a rather arbitrary bit of "hardcoding"?<br>
<br>
I assume I can just copy Detail.js to my module's resource directory and add my override in there?<br>
<br>
Thanks<br>
<br>
Al<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div>
</div>