diff options
Diffstat (limited to 'addons/hr_gamification/models/res_users.py')
| -rw-r--r-- | addons/hr_gamification/models/res_users.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/hr_gamification/models/res_users.py b/addons/hr_gamification/models/res_users.py new file mode 100644 index 00000000..f5a301f7 --- /dev/null +++ b/addons/hr_gamification/models/res_users.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import fields, models + + +class ResUsers(models.Model): + _inherit = 'res.users' + + goal_ids = fields.One2many('gamification.goal', 'user_id') + badge_ids = fields.One2many('gamification.badge.user', 'user_id') |
