Merge branch 'feature/wechat_message' of https://e.coding.net/jikimo-hn/jikimo_sfs/jikimo_sf into feature/销售和排程添加消息推送

This commit is contained in:
jinling.yang
2024-09-20 16:57:19 +08:00
17 changed files with 46 additions and 16 deletions

View File

@@ -184,7 +184,8 @@ class WorkpieceDeliveryWizard(models.TransientModel):
if not barcode.isdigit():
# 判断是否是AGV接驳站名称
agv_site = self.env['sf.agv.site'].search([('name', '=', barcode)])
self.feeder_station_start_id = agv_site.id # 修正:移除 .id
if agv_site:
self.feeder_station_start_id = agv_site.id # 修正:移除 .id
return
if delivery_type == '上产线':