diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-04-11 20:36:46 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-04-11 20:36:46 +0200 |
| commit | 9640e839d876504373da479a02ef62c536d95d8f (patch) | |
| tree | bd3409986d67504e98edab8d97261196cf73336c /addons/gamification/data/badge.xml | |
| parent | ac8f4d62a54c5cf3792a7c8acad26db7bac69c50 (diff) | |
| parent | 4c8418648f0203f916d531d7fec6d5d1d1c3b565 (diff) | |
[ADD] New module: website_forum, a clone of askbot / stackoverflow.
This module models a forum: questions, answers, voting and comment system, karma
management. There is a link with gamification, allowing to use badges and reward
users for their participation to the forum.
Badges are temporarily commented out to ease the module beta-testing without having
to wait for some gamification improvements.
This merge also contains some fixes in access rights for gamification.
bzr revid: tde@openerp.com-20140411183646-fmkeng9fzixjrqy5
Diffstat (limited to 'addons/gamification/data/badge.xml')
| -rw-r--r-- | addons/gamification/data/badge.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/addons/gamification/data/badge.xml b/addons/gamification/data/badge.xml index 5a390be9deb..33d02bf016e 100644 --- a/addons/gamification/data/badge.xml +++ b/addons/gamification/data/badge.xml @@ -23,7 +23,6 @@ <field name="active" eval="False" /> </record> - <record id="badge_idea" model="gamification.badge"> <field name="name">Brilliant</field> <field name="description">With your brilliant ideas, you are an inspiration to others.</field> @@ -32,6 +31,16 @@ <field name="rule_max_number">2</field> <field name="image" type="base64" file="gamification/static/img/badge_idea-image.png"/> </record> + + <!-- subtype for badge allocation --> + <record id="mt_badge_granted" model="mail.message.subtype"> + <field name="name">Badge Granted</field> + <field name="res_model">res.users</field> + <field name="default" eval="True"/> + <field name="hidden" eval="True"/> + <field name="description">Badge Granted</field> + </record> + </data> |
