From a7f480cd85a74a9f0068e3221a392969759c0e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Thu, 16 Apr 2026 12:06:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E7=8F=AD=E5=BD=92=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/wizard/export_date_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/wizard/export_date_wizard.py b/yuthon_hr_attendance/wizard/export_date_wizard.py index dbcf5bc01..f8319b6b0 100644 --- a/yuthon_hr_attendance/wizard/export_date_wizard.py +++ b/yuthon_hr_attendance/wizard/export_date_wizard.py @@ -270,7 +270,7 @@ class ExportDateWizard(models.TransientModel): 'end_time': (over_line.end_time + timedelta(hours=8)).strftime('%Y-%m-%d %H:%M:%S') if over_line and over_line.end_time else '', 'carry_forward_date': record.carry_forward_date, 'carry_forward_quantity': record.carry_forward_quantity, - 'carry_result': carry_result_dict.get(record.carry_result, '') if record.carry_result else '', + 'carry_result': carry_result_dict.get(record.carry_result or (over_line.carry_result if over_line else None), '') if (record.carry_result or (over_line and over_line.carry_result)) else '', } export_data.append(row_data)