diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-02-15 11:17:44 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-02-15 17:45:11 +0000 |
| commit | e7b3535884640724a062db042c83a9d5ebca3c78 (patch) | |
| tree | 7b209227aa5f6566ba83d268b61d8a63ddaaf3f0 /addons/gamification/views | |
| parent | 6a9f6876c1e0ac188a11ba69b1f3890d5e71c563 (diff) | |
[REF] gamification: clean next rank motivational implementation
Purpose of this commit is to clean motivational capabilities of gamification
ranks[1]. It makes more sense to store a motivational to achieve on next rank
itself. We therefore rename the field and provide nice demo data that will be
used in elearning use of gamification ranks.
Commit linked to task ID 1941250 and PR #31133.
[1] task ID 1922159 (landed at 91ee6ba5a72fc961227ab1e4ba301c3920c10112)
Diffstat (limited to 'addons/gamification/views')
| -rw-r--r-- | addons/gamification/views/gamification_karma_rank_views.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/gamification/views/gamification_karma_rank_views.xml b/addons/gamification/views/gamification_karma_rank_views.xml index f09d516ca88..f728cff538e 100644 --- a/addons/gamification/views/gamification_karma_rank_views.xml +++ b/addons/gamification/views/gamification_karma_rank_views.xml @@ -1,3 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> <odoo> <data> <!-- Ranks views --> @@ -35,8 +36,6 @@ <tree string="Ranks List"> <field name="name"/> <field name="karma_min"/> - <field name="description"/> - <field name="user_ids"/> </tree> </field> </record> @@ -58,6 +57,7 @@ <group> <field name="karma_min"/> <field name="description" placeholder="e.g. A Master Chief knows quite everything on the forum! You cannot beat him!"/> + <field name="description_motivational" placeholder="e.g. Reach this rank to gain a free mug !"/> <field name="create_date" invisible="1"/> </group> <group string="Users to that rank" attrs="{'invisible': [('create_date','=',False)]}"> |
