优化制造订单报废

This commit is contained in:
jinling.yang
2024-11-21 17:12:50 +08:00
parent 60cc49238c
commit 310d8b33df
4 changed files with 131 additions and 68 deletions

View File

@@ -312,7 +312,6 @@ class StockRule(models.Model):
i = 0
if production_item.product_id.categ_id.type == '成品':
# 根据加工面板的面数及成品工序模板生成工序设计
for k in (production_item.product_id.model_processing_panel.split(',')):
if production_item.production_type == '自动化产线加工':
product_routing_workcenter = self.env['sf.product.model.type.routing.sort'].search(