PURPOSE Reorganize website_forum module. This allows to better locate code, understand organization, and prepare future changes. SPECIFICATIONS Rename remaining files: controllers, sub-modules, tests, ... Task-3240082 (Forum: Reorganize and lint module) Part-of: odoo/odoo#114841
13 lines
343 B
Python
13 lines
343 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'
|
|
|
|
challenge_category = fields.Selection(selection_add=[
|
|
('forum', 'Website / Forum')
|
|
], ondelete={'forum': 'set default'})
|