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)