diff --git a/htdocs/delivery/class/delivery.class.php b/htdocs/delivery/class/delivery.class.php index 73fc15e6911..ee6b2f488b0 100644 --- a/htdocs/delivery/class/delivery.class.php +++ b/htdocs/delivery/class/delivery.class.php @@ -3,7 +3,7 @@ * Copyright (C) 2005-2014 Regis Houssin * Copyright (C) 2006-2007 Laurent Destailleur * Copyright (C) 2007 Franky Van Liedekerke - * Copyright (C) 2011-2018 Philippe Grand + * Copyright (C) 2011-2023 Philippe Grand * Copyright (C) 2013 Florian Henry * Copyright (C) 2014-2015 Marcos GarcĂ­a * @@ -819,7 +819,7 @@ class Delivery extends CommonObject $line->product_type = $obj->fk_product_type; $line->fk_origin_line = $obj->fk_origin_line; - $line->price = $obj->price; + $line->price = $obj->subprice; $line->total_ht = $obj->total_ht; // units