添加工艺退回调整

This commit is contained in:
jinling.yang
2024-11-11 17:55:05 +08:00
parent e8858559f6
commit 359fd40ed3
7 changed files with 38 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ class sf_technology_design(models.Model):
workorders_values_str = [0, '', {
'route_id': route.id,
'panel': k,
'process_parameters_id': False if route.routing_type.id != '表面工艺' else self.env[
'process_parameters_id': False if route.routing_type != '表面工艺' else self.env[
'sf.production.process.parameter'].search(
[('process_id', '=', route.surface_technics_id.id)]).id,
'sequence': i,