26.01.26
This commit is contained in:
@@ -266,7 +266,7 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
|
|||||||
vlot = sale_line.lots[0]
|
vlot = sale_line.lots[0]
|
||||||
lqt = LotQt.search([('lot_s','=',vlot.id)])
|
lqt = LotQt.search([('lot_s','=',vlot.id)])
|
||||||
if lqt:
|
if lqt:
|
||||||
lqt[0].lot_s.updateVirtualPart(lot_net_weight,sh,lqt.lot_s,'only sale')
|
lqt[0].lot_s.updateVirtualPart(round(lot_net_weight,2),sh,lqt[0].lot_s,'only sale')
|
||||||
logger.info("WITH_DEC_LOT_NET:%s",lot_net_weight)
|
logger.info("WITH_DEC_LOT_NET:%s",lot_net_weight)
|
||||||
else:
|
else:
|
||||||
sale = Sale()
|
sale = Sale()
|
||||||
|
|||||||
Reference in New Issue
Block a user