Skip to content

Commit

Permalink
Merge pull request #8324 from atm-maxime/fix_unit_replen
Browse files Browse the repository at this point in the history
Fix unit in replenish #7225
  • Loading branch information
eldy committed Mar 10, 2018
2 parents 1d571c4 + fd36ade commit faef7a2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion htdocs/product/stock/replenish.php
Expand Up @@ -154,6 +154,8 @@
$line->total_ttc = $line->total_ht + $line->total_tva;
$line->remise_percent = $obj->remise_percent;
$line->ref_fourn = $obj->ref_fourn;
$line->type = $product->type;
$line->fk_unit = $product->fk_unit;
$suppliers[$obj->fk_soc]['lines'][] = $line;
}
}
Expand Down Expand Up @@ -198,7 +200,13 @@
$line->remise_percent,
'HT',
0,
$line->info_bits
$line->type,
0,
false,
null,
null,
0,
$line->fk_unit
);
}
if ($result < 0) {
Expand Down

0 comments on commit faef7a2

Please sign in to comment.