mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-10-26 07:50:05 -05:00
13 lines
358 B
Python
13 lines
358 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
|
|
|
|
from flectra import models, fields
|
|
|
|
|
|
class Challenge(models.Model):
|
|
_inherit = 'gamification.challenge'
|
|
|
|
challenge_category = fields.Selection(selection_add=[
|
|
('slides', 'Website / Slides')
|
|
], ondelete={'slides': 'set default'})
|