FIX situation prev percent

This commit is contained in:
John BOTELLA 2018-10-11 10:14:22 +02:00
parent 40f89d138f
commit ee225a2b8b

View File

@ -1535,6 +1535,7 @@ if (empty($reshook))
{
$line->origin = $object->origin;
$line->origin_id = $line->id;
$line->fk_prev_id = $line->id;
$line->fetch_optionals($line->id);
$line->situation_percent = $line->get_prev_progress($object->id); // get good progress including credit note