commit
d1d3bd64e5
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue