Repository
odoo/odoo · module folder
Module version
1.0
Category
Human Resources
Folder size
0.71 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-15 22:44:20
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Odoo Translation Bot, Yannick Tivisse, Julien Castiaux, Rémy Voet (ryv), Tiffany Chang (tic), Gorash, Dylan Kiss (dyki), omra-odoo, Abdelrahman Mahmoud (amah), Pierre Lamotte (pila), Krzysztof Magusiak (krma), Giorgio Tocco (gito), karygauss03
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Use the HR resources for the gamification process.

The HR officer can now manage challenges and badges.
This allow the user to send badges to employees instead of simple users.
Badge received are displayed on the user profile.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
hr_badge_form_view gamification.badge.form.inherit gamification.badge form Inherits gamification.badge_form_view
hr_employee_public_view_form hr.employee.public.view.form.inherit hr.employee.public form Inherits hr.hr_employee_public_view_form
hr_hr_employee_view_form hr.employee.view.form.inherit hr.employee form Inherits hr.view_employee_form
view_badge_wizard_grant_employee gamification.badge.user.wizard.form.inherit gamification.badge.user.wizard form Inherits gamification.view_badge_wizard_grant
view_badge_wizard_reward gamification.badge.user.wizard.form gamification.badge.user.wizard form New
view_current_badge_form gamification.badge.user.form gamification.badge.user form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (6)

New fields (1)
  • granted_employees_count Integer
    compute='_compute_granted_employees_count'
Public methods (1)
  • get_granted_employees(self)

New fields (2)
  • employee_id Many2one → hr.employee
    index=True string='Employee' args: 'hr.employee'
  • has_edit_delete_access Boolean
    compute='_compute_has_edit_delete_access'
Public methods (1)
  • action_open_badge(self)

New fields (2)
  • employee_id Many2one → hr.employee
    required=False string='Employee' args: 'hr.employee'
  • user_id Many2one → res.users
    compute='_compute_user_id' compute_sudo=True readonly=False store=True string='User' args: 'res.users'
Public methods (1)
  • action_grant_badge(self)
    Wizard action for sending a badge to a chosen employee

New fields (4)
  • badge_ids One2many → gamification.badge.user
    compute='_compute_employee_badges' help='All employee badges, linked to the employee either directly or through the user' string='Employee Badges' args: 'gamification.badge.user'
  • direct_badge_ids One2many → gamification.badge.user
    groups='hr.group_hr_user' help='Badges directly linked to the employee' args: 'gamification.badge.user', 'employee_id'
  • goal_ids One2many → gamification.goal
    compute='_compute_employee_goals' groups='hr.group_hr_user' string='Employee HR Goals' args: 'gamification.goal'
  • has_badges Boolean
    compute='_compute_employee_badges'
Public methods (0)

No public methods.

New fields (2)
  • badge_ids One2many → gamification.badge.user
    compute='_compute_badge_ids' readonly=True args: 'gamification.badge.user'
  • has_badges Boolean
    compute='_compute_has_badges'
Public methods (0)

No public methods.

New fields (2)
  • badge_ids One2many → gamification.badge.user
    args: 'gamification.badge.user', 'user_id'
  • goal_ids One2many → gamification.goal
    args: 'gamification.goal', 'user_id'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…