summaryrefslogtreecommitdiff
path: root/addons/gamification/data
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2019-02-13 12:38:26 +0000
committerDavid Beguin <dbe@odoo.com>2019-02-14 09:24:10 +0000
commitec212de5c7a7b0f4b74549add62a2988f5b38ee6 (patch)
tree138b0f195bd0be035c7435b3ede9fdceb0036b26 /addons/gamification/data
parenta4a0436ddd51a84e35fa68a13833886ffbb63174 (diff)
[IMP] gamification,forum: remove deprecated alert when sending badge
Since 56645335b7bae0415242ec51193e493119a58879, when a user get a badge, an email is sent. The subtype is not used anymore, so the alert mecanism in forum to display a message to the user to show him his new badges can not work. This commit removes this dead code. Task-1922159
Diffstat (limited to 'addons/gamification/data')
-rw-r--r--addons/gamification/data/badge.xml9
1 files changed, 0 insertions, 9 deletions
diff --git a/addons/gamification/data/badge.xml b/addons/gamification/data/badge.xml
index 6596bcfe0dc..50f7e765a02 100644
--- a/addons/gamification/data/badge.xml
+++ b/addons/gamification/data/badge.xml
@@ -32,15 +32,6 @@
<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>
-
<record id="email_template_badge_received" model="mail.template">
<field name="name">Received Badge</field>
<field name="subject">New badge ${object.badge_id.name} granted</field>