From 7ae2b6e35bd9df6b7a1bf03b8dd669df18470506 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 8 Jun 2011 13:04:51 +0000 Subject: [PATCH] Fix: missing fk_parent_line --- htdocs/compta/facture.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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') ); } }