Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Employees

Entity: res.users

Compute Method: _compute_is_hr_user

View 19.0 View 20.0
Inputs Method Outputs
is_hr_user = self.env.user.has_group('hr.group_hr_user')
- for user in self:
-             user.is_hr_user = is_hr_user
+ self.is_hr_user = is_hr_user
  • is_hr_user

Back to entity