[Vtigercrm-developers] Vtiger 7.3 - Transfer ownership not working

Alan Lord alanslists at gmail.com
Wed Nov 18 07:56:49 GMT 2020


Why do we store contacts<->potentials in that table?

Why not use crmentityrel? Then vtiger only needs one mechanism and no 
"extra code" to handle these weird "non-standard" relationships?

Al


On 18/11/2020 06:36, Uma S wrote:
> Hi Henry,
> 
> Yes! We validated this issue and noted the cause as, Relationship 
> between Contacts to Opportunities is not pushed 
> to vtiger_contpotentialrel. Whereas transfer ownership solely depends on 
> these entries.
> 
> I have created the issue here 
> <https://code.vtiger.com/vtiger/vtigercrm/issues/1542>, Which will be 
> addressed in the pipeline.
> 
> On Wed, Nov 18, 2020 at 2:52 AM Alan Lord <alanslists at gmail.com 
> <mailto:alanslists at gmail.com>> wrote:
> 
>     On 17/11/2020 20:57, Henry Cumbicus Rivera wrote:
>      > Of course, Alan,
>      > the problem is that the getRelatedModuleRecordIds method only
>     searches
>      > the vtiger_contpotentialrel table
> 
>     I'm not sure that is correct.
> 
>     The use of vtiger_contpotentialrel will be called if the
>     $relationFieldId is empty.
> 
>     https://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/Vtiger/models/Module.php#L1653
> 
>     But this test is itself inside a foreach loop so I think it should
>     check
>     _both_ relationship mechanisms anyway.
> 
>     https://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/Vtiger/models/Module.php#L1645
> 
>     Al
>     _______________________________________________
>     http://www.vtiger.com/
> 
> 
> 
> -- 
> With
> Best Regards
> Uma.S
> Vtiger Team
> 
> _______________________________________________
> http://www.vtiger.com/
> 


More information about the vtigercrm-developers mailing list