<div dir="ltr">Hi Henry,<div><br></div><div>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.</div><div><br></div><div>I have created the issue <a href="https://code.vtiger.com/vtiger/vtigercrm/issues/1542">here</a>, Which will be addressed in the pipeline.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 18, 2020 at 2:52 AM Alan Lord <<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 17/11/2020 20:57, Henry Cumbicus Rivera wrote:<br>
> Of course, Alan,<br>
> the problem is that the getRelatedModuleRecordIds method only searches <br>
> the vtiger_contpotentialrel table<br>
<br>
I'm not sure that is correct.<br>
<br>
The use of vtiger_contpotentialrel will be called if the <br>
$relationFieldId is empty.<br>
<br>
<a href="https://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/Vtiger/models/Module.php#L1653" rel="noreferrer" target="_blank">https://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/Vtiger/models/Module.php#L1653</a><br>
<br>
But this test is itself inside a foreach loop so I think it should check <br>
_both_ relationship mechanisms anyway.<br>
<br>
<a href="https://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/Vtiger/models/Module.php#L1645" rel="noreferrer" target="_blank">https://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/Vtiger/models/Module.php#L1645</a><br>
<br>
Al<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>