Skip to content

Commit

Permalink
Merge pull request Dolibarr#33016 from MarcVJ/patch-2
Browse files Browse the repository at this point in the history
Added one line to allow use of price_ttc in calculated extra fields
  • Loading branch information
eldy authored Feb 12, 2025
2 parents 56f5232 + 33475b8 commit c4660ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/product/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -1628,6 +1628,7 @@
}

$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;

Expand Down

0 comments on commit c4660ca

Please sign in to comment.