Browse Source

[FIX] employee_documents_expiry: solve internal user access fields

pull/145/head
abdallamohamedcore 5 years ago
committed by GitHub
parent
commit
88dd75e882
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      employee_documents_expiry/models/employee_documents.py

2
employee_documents_expiry/models/employee_documents.py

@ -93,7 +93,7 @@ class HrEmployee(models.Model):
'context': {'default_employee_ref': self.id}
}
document_count = fields.Integer(compute='_document_count', string='# Documents')
document_count = fields.Integer(compute='_document_count', string='# Documents', groups='hr.group_hr_user')
class HrEmployeeAttachment(models.Model):

Loading…
Cancel
Save