Skip to content
Snippets Groups Projects
Commit 3970edc2 authored by Yannick Tivisse's avatar Yannick Tivisse
Browse files

[IMP] hr_presence: Adapt module with new hr.employee.public model

parent 7362c604
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ class ResCompany(models.Model):
hr_presence_state = fields.Selection([
('present', 'Present'),
('absent', 'Absent'),
('to_define', 'To Define')], default='to_define')
('to_define', 'To Define')], groups="hr.group_hr_user", default='to_define')
last_activity = fields.Date(compute="_compute_last_activity")
def _compute_last_activity(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment