1、优化返工按钮;2、优化工单状态;
This commit is contained in:
@@ -1094,7 +1094,7 @@ class ResMrpWorkOrder(models.Model):
|
||||
# if purchase_order.picking_ids.filtered(lambda p: p.state in ['waiting', 'confirmed', 'assigned']):
|
||||
# workorder.state = 'waiting'
|
||||
# continue
|
||||
if workorder.routing_type == '表面工艺':
|
||||
if workorder.technology_design_id.routing_tag == 'special':
|
||||
if workorder.is_subcontract is False:
|
||||
workorder.state = 'ready'
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user