main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit a71d666619 - Show all commits

View File

@@ -302,8 +302,8 @@ class ValuationBase(ModelSQL):
if sf.currency != line.purchase.currency:
with Transaction().set_context(date=Date.today()):
price = Currency.compute(sf.currency, price, line.purchase.currency)
qty = round(lot.get_current_quantity_converted(), 5)
if line.mtm:
qty = round(lot.get_current_quantity_converted(), 5)
for strat in line.mtm:
fee_lines.append({
'lot': lot.id,