1、去除工单页面的时效状态自动筛选项;2、坯料制造订单添加批量确认加工工艺功能;3、处理返工新生成的工单工序错误问题;4、采购、销售页面优化

This commit is contained in:
yuxianghui
2024-12-11 10:33:10 +08:00
parent 1c4a6ca85e
commit 179ce86bef
4 changed files with 23 additions and 6 deletions

View File

@@ -119,7 +119,7 @@ class ReworkWizard(models.TransientModel):
and item.panel == work.processing_panel))
if route:
work_list = self.env['mrp.workorder'].json_workorder_str(self.production_id, route[0])
work_list[2].update({'tag_type': '重新加工'})
work_list[2].update({'tag_type': '重新加工', 'sequence': 0})
workorders_values.append(work_list)
# 创建新工单,并进行返工配置的相关操作
if workorders_values: