Files
odoo_source/addons/website_profile/models/gamification_badge.py
T
Thibault DelavalléeandDavid Beguin b98564479b [ADD] website_profile: new module holding website-related code for gamification
Purpose is to be able to re-use frontend-related model, data and tools
for gamification. Currently only forum uses gamification. Soon slides module
will use them and user profile / biography will be expanded. This commit
prepares those features by already preparing the bridge module and adding
a publish option on badges.

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>
2019-02-07 12:13:28 +00:00

10 lines
263 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
class GamificationBadge(models.Model):
_name = 'gamification.badge'
_inherit = ['gamification.badge', 'website.published.mixin']