HI Dolibarr team,
I found a bug in the trip and expenses . When we click on the list of trips, everything seems fine but on clicking the person name, it shows user details, that are not related to the particular user. Anyway I rectified it.
I solved the issue by adding fk_user to the line 63 in compta->deplacement->list.php
$sql.= " d.rowid, d.type, d.dated as dd, d.km,d.fk_user,";
and change line 138
to
print ‘<td align=“left”><a href="’.DOL_URL_ROOT.’/user/fiche.php?id=’.$obj->fk_user.’">’.img_object($langs->trans(“ShowUser”),“user”).’ ‘.$obj->firstname.’ ‘.$obj->lastname.’ ‘.$obj->name.’</a></td>’;
Thanks