This commit is contained in:
2026-02-02 16:08:35 +01:00
parent 40025169d4
commit 10aaff4cc8
2 changed files with 1 additions and 3 deletions

View File

@@ -856,7 +856,7 @@ class ShipmentIn(metaclass=PoolMeta):
#update line valuation
Pnl = Pool().get('valuation.valuation')
for lot in lots:
Pnl.generate(lot.line)
Pnl.generate(lot.line if lot.line else lot.sale_line)
if sh.sof:
for sof in sh.sof:
if sof.chart: