Pnl sale side

This commit is contained in:
2026-04-29 20:04:23 +02:00
parent 5a7b5845b6
commit 221e701507

View File

@@ -696,6 +696,7 @@ class ValuationBase(ModelSQL):
Date = Pool().get('ir.date')
Currency = Pool().get('currency.currency')
FeeLots = Pool().get('fee.lots')
LotQt = Pool().get('lot.qt')
#if line is matched with sale_line we should add the open sale side
sale_lines = line.get_matched_lines() or []
sale_open_lots = tuple(