09.02.26
This commit is contained in:
@@ -303,8 +303,8 @@ class ValuationBase(ModelSQL):
|
||||
with Transaction().set_context(date=Date.today()):
|
||||
price = Currency.compute(sf.currency, price, line.purchase.currency)
|
||||
if line.mtm:
|
||||
qty = round(lot.get_current_quantity_converted(), 5)
|
||||
for strat in line.mtm:
|
||||
qty = round(lot.get_current_quantity_converted(), 5)
|
||||
fee_lines.append({
|
||||
'lot': lot.id,
|
||||
'sale': lot.sale_line.sale.id if lot.sale_line else None,
|
||||
|
||||
Reference in New Issue
Block a user