diff --git a/modules/purchase_trade/sale.py b/modules/purchase_trade/sale.py index fc6c829..3062d56 100755 --- a/modules/purchase_trade/sale.py +++ b/modules/purchase_trade/sale.py @@ -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()