去掉返工和报废的代码

This commit is contained in:
jinling.yang
2024-06-17 16:16:22 +08:00
parent 8ade3b43c4
commit 7dea8c7c1e
2 changed files with 2 additions and 2 deletions

View File

@@ -208,7 +208,7 @@ class StockRule(models.Model):
'''
创建工单
'''
productions._create_workorder(is_fetchcnc=False, scrap_production=False)
productions._create_workorder()
productions.filtered(lambda p: (not p.orderpoint_id and p.move_raw_ids) or \
(