1、处理 制造订单内外协调拨单质量检查不通过,点击跳转质量检查页面报错 ;2、处理 工单Rfid绑定解绑是数据不正确问题
This commit is contained in:
@@ -48,7 +48,8 @@ class ProductionWizard(models.TransientModel):
|
||||
rfid_code = workorder.rfid_code
|
||||
workorder.filtered(lambda wo: wo.routing_type == '装夹预调' and wo.rfid_code is not False).write(
|
||||
{'rfid_code_old': rfid_code, 'rfid_code': False})
|
||||
workorder.filtered(lambda wo: wo.routing_type != '装夹预调' and wo.rfid_code is not False).write(
|
||||
workorder.filtered(lambda wo: (wo.routing_type != '装夹预调' and
|
||||
(wo.rfid_code_old is not False or wo.rfid_code is not False))).write(
|
||||
{'rfid_code_old': False, 'rfid_code': False})
|
||||
|
||||
if self.is_remanufacture is True:
|
||||
|
||||
Reference in New Issue
Block a user