From 53530f9c6bd53b0660ecae4e9870f9458cc559d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Tue, 3 Feb 2026 14:22:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=AF=B7=E5=81=87=E7=BB=93=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/models/overtime_approval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/models/overtime_approval.py b/yuthon_hr_attendance/models/overtime_approval.py index 5bd3a57d5..4a925d48f 100644 --- a/yuthon_hr_attendance/models/overtime_approval.py +++ b/yuthon_hr_attendance/models/overtime_approval.py @@ -66,7 +66,7 @@ class OvertimeApprovals(models.Model): workflow_records = self.env['soong.workflow.record'].search([ ('workflow_id.name', '=', '加班'), ('create_uid', '=', self.env.user.id), - ('reclaim_state', '=', False), + ('reclaim_state', '!=', False), ]) if not workflow_records: continue From 163d9f13780a33c32c13036c3e5564b6201dc742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Tue, 3 Feb 2026 14:48:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=AF=B7=E5=81=87=E7=BB=93=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/soong_workflow_record.xml | 2 +- yuthon_holiday/models/inherit_hr_leave.py | 50 +++++++++---------- .../inherit_hr_payroll_structure_type.py | 20 ++++++++ .../security/salary_security_rule.xml | 5 -- ...nherit_hr_payroll_structure_type_views.xml | 1 + yuthon_work_brand/views/hr_menus.xml | 5 ++ 6 files changed, 52 insertions(+), 31 deletions(-) diff --git a/soong_workflow/views/soong_workflow_record.xml b/soong_workflow/views/soong_workflow_record.xml index 3e177c5a6..6734ab1f7 100644 --- a/soong_workflow/views/soong_workflow_record.xml +++ b/soong_workflow/views/soong_workflow_record.xml @@ -85,7 +85,7 @@ soong.workflow.record