27.01.26
This commit is contained in:
@@ -308,7 +308,7 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
|
||||
lqt = LotQt.search([('lot_s','=',sale_line.lots[0])])
|
||||
if lqt:
|
||||
lqt[0].lot_shipment_in = sh[0]
|
||||
LotQt.save([lqt])
|
||||
LotQt.save(lqt)
|
||||
logger.info("SALE_LINKED_TO_SHIPMENT:%s",sh[0])
|
||||
|
||||
ContractStart = Pool().get('contracts.start')
|
||||
|
||||
Reference in New Issue
Block a user