This commit is contained in:
2026-01-26 22:57:35 +01:00
parent 0cb824076b
commit 9b324ca7cd

View File

@@ -265,7 +265,7 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
logger.info("WITH_DEC:%s",sale_line)
vlot = sale_line.lots[0]
lqt = LotQt.search([('lot_s','=',vlot.id)])
lqt.lot_p.updateVirtualPart(lot_net_weight,sh,lqt.lot_s)
lqt.lot_s.updateVirtualPart(lot_net_weight,sh,lqt.lot_s,'only sale')
logger.info("WITH_DEC_LOT_NET:%s",lot_net_weight)
else:
sale = Sale()