diff --git a/htdocs/product/list.php b/htdocs/product/list.php index c023c3ca97d..d262f757909 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -1629,7 +1629,7 @@ 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');