Actions
Anomalie #15082
ferméLes contacts des PJ ne sont pas rattaché correctement.
Début:
08/10/2020
Echéance:
Description
code a modifier :
Ligne 395, fichier migrateContacts.php :
$query = "update res_attachments as ra set
recipient_id = tmp.old_contact_id, recipient_type = 'contact'
from (values
$valuesOld
) as tmp(new_id, old_address_id, old_contact_id)
where ra.dest_contact_id = tmp.old_contact_id and ra.dest_address_id = tmp.old_address_id";
A remplacer par :
$query = "update res_attachments as ra set
recipient_id = tmp.new_id, recipient_type = 'contact'
from (values
$valuesOld
) as tmp(new_id, old_address_id, old_contact_id)
where ra.dest_contact_id = tmp.old_contact_id and ra.dest_address_id = tmp.old_address_id";
Actions