This commit is contained in:
yuxianghui
2024-04-23 14:19:55 +08:00
parent f1dad7701f
commit 1fa5ebd80a
2 changed files with 3 additions and 3 deletions

View File

@@ -467,7 +467,7 @@ class Manufacturing_Connect(http.Controller):
logging.info('DeviceId:%s' % ret['DeviceId'])
workpiece_delivery = request.env['sf.workpiece.delivery'].sudo().search(
[('feeder_station_start_id.name', '=', ret['DeviceId']),
('status', '=', '已配送'), ('type', '=', '产线')], order='id asc')
('status', '=', '已配送'), ('type', '=', '产线')], order='id asc')
if workpiece_delivery:
for wd in workpiece_delivery:
logging.info('wd.production_id:%s' % wd.production_id.name)