1、制造订单状态优化

This commit is contained in:
yuxianghui
2025-01-16 09:01:11 +08:00
parent 5ff6fe73d4
commit e3562e7ae3
2 changed files with 3 additions and 17 deletions

View File

@@ -311,7 +311,7 @@ class ReworkWizard(models.TransientModel):
break
for p in production_id.detection_result_ids.filtered(
lambda ap1: ap1.handle_result == '待处理'):
if p.processing_panel and p.processing_panel not in panel_arr:
if p.processing_panel is not False and p.processing_panel not in panel_arr:
panel_arr += ','.join(p.processing_panel)
for item in panel_arr.split(','):
panel = self.env['sf.processing.panel'].search(