在工单完成处控制状态,来避免非正常操作导致的制造订单状态异常问题
This commit is contained in:
@@ -67,7 +67,7 @@ class MrpProduction(models.Model):
|
||||
('待加工', '待加工'),
|
||||
('待解除装夹', '待解除装夹'),
|
||||
('已完工', '已完工'),
|
||||
], string='工序状态', related='workorder_ids.process_state', store=True)
|
||||
], string='工序状态')
|
||||
|
||||
# 零件图号
|
||||
part_number = fields.Char('零件图号')
|
||||
|
||||
Reference in New Issue
Block a user