27.01.26
This commit is contained in:
@@ -270,6 +270,8 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
|
|||||||
for lq in lqt:
|
for lq in lqt:
|
||||||
if lq.lot_p:
|
if lq.lot_p:
|
||||||
logger.info("VLOT_P:%s",lq.lot_p)
|
logger.info("VLOT_P:%s",lq.lot_p)
|
||||||
|
sale_line.theorical_quantity += round(lot_net_weight,2)
|
||||||
|
SaleLine.save([sale_line])
|
||||||
lq.lot_p.updateVirtualPart(round(lot_net_weight,2),sh[0],lq.lot_s)
|
lq.lot_p.updateVirtualPart(round(lot_net_weight,2),sh[0],lq.lot_s)
|
||||||
vlot.set_current_quantity(round(lot_net_weight,2),round(lot_gross_weight,2),1)
|
vlot.set_current_quantity(round(lot_net_weight,2),round(lot_gross_weight,2),1)
|
||||||
Lot.save([vlot])
|
Lot.save([vlot])
|
||||||
|
|||||||
Reference in New Issue
Block a user