diff options
| author | DJ Patel <mdi@tinyerp.com> | 2014-04-17 12:15:01 +0530 |
|---|---|---|
| committer | DJ Patel <mdi@tinyerp.com> | 2014-04-17 12:15:01 +0530 |
| commit | 483fe85c2b3e659bfdb3d2e483e8bbaab3fcf4e4 (patch) | |
| tree | a7e46439e5cf609578130abe6a6d9c041734841d /addons/gamification/data | |
| parent | 7d5b66c526fc2137d1f65cb881ebe2409e2b2234 (diff) | |
| parent | dd47f684f0d0d5f8844d8893d3bbc9eee2a48c46 (diff) | |
[Merge] Merged with main branch.
bzr revid: mdi@tinyerp.com-20140417064501-cf2rp86sukob7v1a
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> |
