From f769b1be97d1665226481f4213754c1e573aa172 Mon Sep 17 00:00:00 2001 From: Bakry Date: Tue, 30 Dec 2025 16:11:19 +0300 Subject: [PATCH] fix --- odex25_hr/attendances/models/hr_attendance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odex25_hr/attendances/models/hr_attendance.py b/odex25_hr/attendances/models/hr_attendance.py index bccec43b5..67ef97254 100644 --- a/odex25_hr/attendances/models/hr_attendance.py +++ b/odex25_hr/attendances/models/hr_attendance.py @@ -424,7 +424,7 @@ class ActionReason(models.Model): class Attendance(models.Model): _name = 'attendance.attendance' _rec_name = 'employee_id' - _order = 'action_date DESC' + _order = 'name DESC' employee_id = fields.Many2one('hr.employee', string="Employee", domain="[('state', '=', 'open')]", required=True, ondelete='cascade', index=True)