14.02.26
This commit is contained in:
@@ -349,9 +349,9 @@ class Sale(metaclass=PoolMeta):
|
||||
Pnl = Pool().get('valuation.valuation')
|
||||
Pnl.generate(line_p)
|
||||
|
||||
if line.quantity_theorical:
|
||||
OpenPosition = Pool().get('open.position')
|
||||
OpenPosition.create_from_sale_line(line)
|
||||
# if line.quantity_theorical:
|
||||
# OpenPosition = Pool().get('open.position')
|
||||
# OpenPosition.create_from_sale_line(line)
|
||||
|
||||
if line.price_type == 'basis' and line.lots: #line.price_pricing and line.price_components and
|
||||
unit_price = line.get_basis_price()
|
||||
|
||||
Reference in New Issue
Block a user