FIX : when we need to bill several orders, order lines unit is not on bill lines

This commit is contained in:
gauthier 2019-12-03 16:40:35 +01:00
parent aa5dff9aae
commit cec54d6ce0

View File

@ -701,7 +701,10 @@ if ($massaction == 'confirm_createbills')
$lines[$i]->fk_fournprice, $lines[$i]->fk_fournprice,
$lines[$i]->pa_ht, $lines[$i]->pa_ht,
$lines[$i]->label, $lines[$i]->label,
$array_options $array_options,
100,
0,
$lines[$i]->fk_unit
); );
if ($result > 0) if ($result > 0)
{ {