08.02.26
This commit is contained in:
@@ -102,7 +102,7 @@ class MtmStrategy(ModelSQL, ModelView):
|
|||||||
for comp in self.components:
|
for comp in self.components:
|
||||||
value = Decimal(0)
|
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(
|
value = Decimal(
|
||||||
comp.price_index.get_price(
|
comp.price_index.get_price(
|
||||||
dt,
|
dt,
|
||||||
|
|||||||
Reference in New Issue
Block a user