This commit is contained in:
yuxianghui
2025-06-05 17:03:06 +08:00
parent 95cb5251dc
commit 5d0f094da7

View File

@@ -1593,7 +1593,7 @@ class ResMrpWorkOrder(models.Model):
record.production_id.workorder_ids.filtered(lambda wo: wo.state != 'cancel'))):
is_production_id = True
if record.routing_type in ['解除装夹'] or (record.is_rework is True and record.routing_type in ['装夹预调']):
if record.routing_type in ['解除装夹']:
rfid_code = record.rfid_code
work_ids = record.production_id.workorder_ids.filtered(
lambda wo: wo.processing_panel == record.processing_panel and wo.state != 'rework')