27.01.26
This commit is contained in:
@@ -304,6 +304,13 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
|
||||
sale_line.note = dec_key
|
||||
SaleLine.save([sale_line])
|
||||
|
||||
#need to link the virtual part to the shipment
|
||||
lqt = LotQt.search([('lot_s','=',sale_line.lots[0])])
|
||||
if lqt:
|
||||
lqt[0].lot_shipment_in = sh[0]
|
||||
LotQt.save([lqt])
|
||||
logger.info("SALE_LINKED_TO_SHIPMENT:%s",sh[0])
|
||||
|
||||
ContractStart = Pool().get('contracts.start')
|
||||
ContractDetail = Pool().get('contract.detail')
|
||||
ct = ContractStart()
|
||||
|
||||
Reference in New Issue
Block a user