Merge pull request #12616 from atm-gauthier/8.0_fix_bill_orders_with_unit
FIX : when we need to bill several orders, order lines unit is not on bill lines
This commit is contained in:
commit
d4e20bb3a4
@ -701,7 +701,10 @@ if ($massaction == 'confirm_createbills')
|
||||
$lines[$i]->fk_fournprice,
|
||||
$lines[$i]->pa_ht,
|
||||
$lines[$i]->label,
|
||||
$array_options
|
||||
$array_options,
|
||||
100,
|
||||
0,
|
||||
$lines[$i]->fk_unit
|
||||
);
|
||||
if ($result > 0)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user