[Vtigercrm-developers] Critical bug on get_dependents_list
PlaymaN Tepes
sshhocckk at gmail.com
Wed Sep 24 14:35:02 GMT 2014
Hi Community,
I was trying to make a 1-N relationship, or, in vtiger terms, a
dependents_list in module Accounts.
What I found its that its impossible to make this relationship because the
function returing the results is an empty array:
file include/Webservices/Relation.php - line 11 (
http://trac.vtiger.com/svn/vtiger/vtigercrm/trunk/include/Webservices/Relation.php
)
function
GetRelatedList($module,$relatedmodule,$focus,$query,$button,$returnset,$id='',$edit_val='',$del_val='',$skipActions=false)
{
return array( 'query' => $query , 'entries' => array() );
}
As you can see, array is empty.
Actually, if you try to create an Asset for an Account, the related view
shows 0 records because of this, so the solution is make new functions like
"get_opportunities", "get_invoices" etc.
My concern is if vTiger team is aware of this *critical *bug?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140924/151b6b14/attachment.html>
More information about the vtigercrm-developers
mailing list