This commit is contained in:
2026-02-14 18:46:52 +01:00
parent 6f4ad3723f
commit 8ee9354327

View File

@@ -348,7 +348,7 @@ class Sale(metaclass=PoolMeta):
for l in line_p:
#compute pnl
Pnl = Pool().get('valuation.valuation')
Pnl.generate(l)
Pnl.generate(l.lot_p.line)
# if line.quantity_theorical:
# OpenPosition = Pool().get('open.position')