diff --git a/htdocs/product/list.php b/htdocs/product/list.php index aa378d1c85c..c023c3ca97d 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -1628,7 +1628,8 @@ while ($i < $imaxinloop) { } $product_static->price = $obj->price; - + $product_static->price_ttc = $obj->price_ttc; // Allows to use price_ttc in calculated extra fields (ex : price per kilo) + $object = $product_static; $usercancreadprice = getDolGlobalString('MAIN_USE_ADVANCED_PERMS') ? $user->hasRight('product', 'product_advance', 'read_prices') : $user->hasRight('product', 'lire');