diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 0cffecf90c2..a8d0e384c5a 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -966,7 +966,12 @@ if (($action == 'addline' || $action == 'addline_predef') && $user->rights->fact '', $price_base_type, $pu_ttc, - $type + $type, + -1, + 0, + '', + 0, + GETPOST('fk_parent_line') ); } }