This commit is contained in:
2026-02-08 22:18:54 +01:00
parent 231b733222
commit bc5aa57319

View File

@@ -102,7 +102,7 @@ class MtmStrategy(ModelSQL, ModelView):
for comp in self.components:
value = Decimal(0)
if comp.price_source_type == 'curve' and comp.price_curve:
if comp.price_source_type == 'curve' and comp.price_index:
value = Decimal(
comp.price_index.get_price(
dt,