mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-23 01:12:00 +02:00
Initial commit: Core packages
This commit is contained in:
commit
12c29a983b
9512 changed files with 8379910 additions and 0 deletions
12
odoo-bringout-oca-ocb-survey/survey/models/challenge.py
Normal file
12
odoo-bringout-oca-ocb-survey/survey/models/challenge.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# -*- 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=[
|
||||
('certification', 'Certifications')
|
||||
], ondelete={'certification': 'set default'})
|
||||
Loading…
Add table
Add a link
Reference in a new issue