fix
This commit is contained in:
parent
574ae2d28d
commit
2c58ec25ae
|
|
@ -6,8 +6,9 @@ from odoo import models, fields, api, _, exceptions
|
|||
|
||||
class HrAttendanceRegister(models.Model):
|
||||
_name = 'hr.attendance.register'
|
||||
_rec_name = 'register_date'
|
||||
_rec_name = 'employee_id'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'action_date DESC'
|
||||
|
||||
action_type = fields.Selection(selection=[('sign_in', _('Sign In')),
|
||||
('sign_out', _('Sign Out'))], string='Action Type')
|
||||
|
|
|
|||
Loading…
Reference in New Issue