注释代码

This commit is contained in:
jinling.yang
2024-07-28 11:47:12 +08:00
parent 36a2bcca6e
commit 39214e5352
4 changed files with 65 additions and 61 deletions

View File

@@ -184,8 +184,8 @@ class MrpProduction(models.Model):
production.workorder_ids):
production.state = 'rework'
# 如果制造订单的功能刀具为【无效刀】则制造订单状态改为返工
if production.tool_state == '2':
production.state = 'rework'
# if production.tool_state == '2':
# production.state = 'rework'
def action_check(self):
"""