summaryrefslogtreecommitdiff
path: root/addons/hr_gamification/models/gamification.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/hr_gamification/models/gamification.py')
-rw-r--r--addons/hr_gamification/models/gamification.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_gamification/models/gamification.py b/addons/hr_gamification/models/gamification.py
index 1107f0e0012..3e6b8af3886 100644
--- a/addons/hr_gamification/models/gamification.py
+++ b/addons/hr_gamification/models/gamification.py
@@ -39,6 +39,6 @@ class GamificationBadge(models.Model):
'name': 'Granted Employees',
'view_mode': 'kanban,tree,form',
'view_type': 'form',
- 'res_model': 'hr.employee',
+ 'res_model': 'hr.employee.public',
'domain': [('id', 'in', employee_ids)]
}