修复制造订单加工无状态问题

This commit is contained in:
mgw
2024-05-11 22:42:58 +08:00
parent d3677b9c89
commit 391a172016
2 changed files with 2 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ class MrpProduction(models.Model):
('待加工', '待加工'),
('待解除装夹', '待解除装夹'),
('已完工', '已完工'),
], string='工序状态')
], string='工序状态', default='待装夹')
# 零件图号
part_number = fields.Char('零件图号')