diff options
Diffstat (limited to 'addons/gamification/data')
| -rw-r--r-- | addons/gamification/data/badge.xml | 11 | ||||
| -rw-r--r-- | addons/gamification/data/goal_base.xml | 2 |
2 files changed, 10 insertions, 3 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> diff --git a/addons/gamification/data/goal_base.xml b/addons/gamification/data/goal_base.xml index 66dd7be7431..428cc357047 100644 --- a/addons/gamification/data/goal_base.xml +++ b/addons/gamification/data/goal_base.xml @@ -13,8 +13,6 @@ </header> <p>You have not updated your progress for the goal ${object.definition_id.name} (currently reached at ${object.completeness}%) for at least ${object.remind_update_delay} days. Do not forget to do it.</p> - - <p>If you have not changed your score yet, you can use the button "The current value is up to date" to indicate so.</p> ]]></field> </record> |
