This commit is contained in:
2026-05-27 10:54:30 +02:00
parent 5b5f1d77ff
commit c2d4e34516
2 changed files with 35 additions and 3 deletions

View File

@@ -356,6 +356,9 @@ class ValuationBase(ModelSQL):
value = Decimal(strategy._get_matrix_price(
comp, line, scenario.valuation_date))
if comp.ratio:
value *= Decimal(comp.ratio) / Decimal(100)
total += value
return round(total, 4)