This commit is contained in:
Bakry 2025-12-30 16:11:19 +03:00
parent 8375fd6dec
commit f769b1be97
1 changed files with 1 additions and 1 deletions

View File

@ -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)