优化工序设计
This commit is contained in:
@@ -18,7 +18,7 @@ class sf_technology_design(models.Model):
|
|||||||
|
|
||||||
def json_technology_design_str(self, k, route, i, process_parameter):
|
def json_technology_design_str(self, k, route, i, process_parameter):
|
||||||
workorders_values_str = [0, '', {
|
workorders_values_str = [0, '', {
|
||||||
'route_id': route.id if route.routing_type == '表面工艺' else route.route_workcenter_id.id,
|
'route_id': route.id if route.routing_type in ['表面工艺'] else route.route_workcenter_id.id,
|
||||||
'panel': k,
|
'panel': k,
|
||||||
'process_parameters_id': False if route.routing_type != '表面工艺' else self.env[
|
'process_parameters_id': False if route.routing_type != '表面工艺' else self.env[
|
||||||
'sf.production.process.parameter'].search(
|
'sf.production.process.parameter'].search(
|
||||||
|
|||||||
Reference in New Issue
Block a user