修复工艺设计

This commit is contained in:
jinling.yang
2024-11-12 09:00:45 +08:00
parent 7d5c7bceb1
commit 317f44d6c2

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,