diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 7c8d4dcf9e6..951f0f13a59 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -510,7 +510,7 @@ class Commande $ligne->subprice = $objp->subprice; $ligne->remise_percent = $objp->remise_percent; $ligne->price = $objp->price; - $ligne->product_id = $objp->rowid; + $ligne->product_id = $objp->fk_product; $ligne->libelle = $objp->label; // Label produit $ligne->product_desc = $objp->product_desc; // Description produit