表面工艺类别拖动排序
This commit is contained in:
@@ -127,6 +127,10 @@ class MrpProduction(models.Model):
|
||||
if i == processing_panel_len and route.routing_type == '解除装夹':
|
||||
workorders_values.append(
|
||||
self.env['mrp.workorder'].json_workorder_str(k, production, route))
|
||||
# 表面工艺
|
||||
# for item in production.product_id.product_model_type_id.surface_technics_routing_tmpl_ids:
|
||||
# workorders_values.append(
|
||||
# self.env['mrp.workorder']._json_workorder_surface_process_str(production, item))
|
||||
elif production.product_id.categ_id.type == '胚料':
|
||||
embryo_routing_workcenter = self.env['sf.embryo.model.type.routing.sort'].search(
|
||||
[('embryo_model_type_id', '=', production.product_id.embryo_model_type_id.id)],
|
||||
|
||||
Reference in New Issue
Block a user