[Vtigercrm-developers] Accounts related list to Accounts (same module) ?

Boris CLEMENT b.clement at abo-s.com
Thu Jan 5 10:50:10 GMT 2017


Hi,

You have to inherit Vtiger/actions/Delete.php for Accounts module and 
use "unlinkRelationship" function or something like that.

Regards,
Boris

Le 05/01/2017 à 09:10, apcloic a écrit :
> Hi All,
>
> I need to be able to link accounts to each other in order to track relation
> like Company A with Company B & C.
>
> Using a custom function configured in vtiger_relatedlists tab, I'm able to
> create an account related list to the same module, relation is properly
> stored in vtiger_crmentityrel.
>
> However I'm facing an issue when deleting relation (trash icon on a record
> in related list pane), it also delete related entity.
>
> Any way to override this default behavior, I expect clicking on trash to
> only unlink related entities ?
>
> Regards,
>
>
>
> --
> View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Accounts-related-list-to-Accounts-same-module-tp20343.html
> Sent from the vtigercrm-developers mailing list archive at Nabble.com.
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20170105/4fcf3c9c/attachment.html>


More information about the vtigercrm-developers mailing list