26.01.26
This commit is contained in:
@@ -265,7 +265,8 @@ 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_s.updateVirtualPart(lot_net_weight,sh,lqt.lot_s,'only sale')
|
||||
if lqt:
|
||||
lqt[0].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()
|
||||
|
||||
Reference in New Issue
Block a user