14.02.26
This commit is contained in:
@@ -348,7 +348,7 @@ class Sale(metaclass=PoolMeta):
|
|||||||
for l in line_p:
|
for l in line_p:
|
||||||
#compute pnl
|
#compute pnl
|
||||||
Pnl = Pool().get('valuation.valuation')
|
Pnl = Pool().get('valuation.valuation')
|
||||||
Pnl.generate(l)
|
Pnl.generate(l.lot_p.line)
|
||||||
|
|
||||||
# if line.quantity_theorical:
|
# if line.quantity_theorical:
|
||||||
# OpenPosition = Pool().get('open.position')
|
# OpenPosition = Pool().get('open.position')
|
||||||
|
|||||||
Reference in New Issue
Block a user