[IMP] hr_presence: Adapt module with new hr.employee.public model
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user