Merge pull request #9727 from atm-john/fix_situation_prev_percent

FIX situation prev percent
This commit is contained in:
Laurent Destailleur 2018-10-12 17:49:24 +02:00 committed by GitHub
commit 8c843fdccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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