Purpose is to prepare the use of gamification tools in slides. In this commit we add the dependency on website_profile (gamification front-end) in slides and add the slides category on challenges. Partial commit linked to eLearning project. Main specifications related to gamification and user profile can be found on task 1922159 (PR #30514). Main specifications related to eLearning can be found on task 1902304 (PR #29876). Co-Authored-By: David Beguin <dbe@odoo.com> Co-Authored-By: Thibault Delavallee <tde@odoo.com>
11 lines
286 B
Python
11 lines
286 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models, fields
|
|
|
|
|
|
class Challenge(models.Model):
|
|
_inherit = 'gamification.challenge'
|
|
|
|
category = fields.Selection(selection_add=[('slides', 'Website / Slides')])
|