Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: HR Gamification
Entity: gamification.badge.user
Compute Method: _compute_has_edit_delete_access
| Inputs | Method | Outputs |
|---|---|---|
|
+ is_hr_user = self.env.user.has_group('hr.group_hr_user') + for badge_user in self: + badge_user.has_edit_delete_access = is_hr_user or self.env.uid == self.create_uid.id |
|
