1、优化功能刀具预警记录跳转功能刀具拆解单链接方法;2、优化功能刀具预警界面及搜索等方法;3、优化拆解单功能及界面;4、处理功能刀具组装时,刀柄状态不实时变更问题

This commit is contained in:
yuxianghui
2024-08-13 17:30:19 +08:00
parent 894d3b9ea3
commit bf34de58fc
4 changed files with 40 additions and 6 deletions

View File

@@ -418,7 +418,7 @@ class FunctionalToolWarning(models.Model):
elif dismantle_ids:
action.update({
'view_mode': 'tree,form',
'res_id': dismantle_ids.ids
'domain': [('id', 'in', dismantle_ids.ids)],
})
else:
return False