!10387 添加功能

Merge pull request !10387 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-03-30 11:04:25 +00:00
committed by Gitee
2 changed files with 1 additions and 4 deletions
@@ -1088,8 +1088,6 @@ class SoongWorkflowCommentWizard(models.TransientModel):
'uid': self.env.uid,
}
}
workflow_record_id = self.env['soong.workflow.record'].sudo().search([('code', '=', record_id.code)])
workflow_record_id._compute_is_to_do()
def _get_all_employee_partners(self):
all_employees = self.env['hr.employee']
@@ -37,9 +37,8 @@ const getWkfAction = (treeId, kanbanId, uid, isSmall) => {
res_model: 'soong.workflow.record',
views: isSmall ? [[kanbanId, 'kanban']] : [[treeId, 'tree']],
domain: [
['users_ids', 'in', uid],
['reclaim_state', '=', false],
['soong_state', '=', 'to_do'],
['is_to_do', '=', True],
],
context: {
header_search_default_approve_state: 1,