[Vtigercrm-developers] Vtiger 7.3 - Transfer ownership not working
Alan Lord
alanslists at gmail.com
Tue Nov 17 21:16:54 GMT 2020
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
More information about the vtigercrm-developers
mailing list