diff --git a/addons/gamification/data/gamification_karma_rank_data.xml b/addons/gamification/data/gamification_karma_rank_data.xml index b91ee3dd4dc..2a5ad0231fe 100644 --- a/addons/gamification/data/gamification_karma_rank_data.xml +++ b/addons/gamification/data/gamification_karma_rank_data.xml @@ -13,9 +13,8 @@ Newbie

You just began the adventure! Welcome!

-

Keep going !

1
- + \ No newline at end of file diff --git a/addons/gamification/data/gamification_karma_rank_demo.xml b/addons/gamification/data/gamification_karma_rank_demo.xml index c34f93b486e..45b57ae34f3 100644 --- a/addons/gamification/data/gamification_karma_rank_demo.xml +++ b/addons/gamification/data/gamification_karma_rank_demo.xml @@ -1,5 +1,5 @@ - + 20 @@ -12,7 +12,11 @@ Student

You begin to understand things ! Keep going!

-

Keep going !

+ +
+
Reach the next rank and gain a very nice mug !
+ +
100
@@ -20,7 +24,11 @@ Bachelor

Hey ! You're not so dumb after all !

-

Keep going !

+ +
+
Reach the next rank and gain a very magic wand !
+ +
500
@@ -28,7 +36,11 @@ Master

You're good ! Really Good !

-

Keep going !

+ +
+
Reach the next rank and gain a very nice hat !
+ +
2000
@@ -36,7 +48,11 @@ Doctor

Ok, RESPECT !

-

Keep going !

+ +
+
Reach the next rank and gain a week-end with a unicorn !
+ +
10000
diff --git a/addons/gamification/models/gamification_karma_rank.py b/addons/gamification/models/gamification_karma_rank.py index e5a7897f44c..78b8e40ac50 100644 --- a/addons/gamification/models/gamification_karma_rank.py +++ b/addons/gamification/models/gamification_karma_rank.py @@ -19,9 +19,9 @@ class KarmaRank(models.Model): name = fields.Text(string='Rank Name', translate=True, required=True) description = fields.Html(string='Description', translate=html_translate, sanitize_attributes=False,) - description_reach_next = fields.Html( - string='Motivation phrase', translate=html_translate, sanitize_attributes=False, - help="Motivation phrase to reach next rank") + description_motivational = fields.Html( + string='Motivational', translate=html_translate, sanitize_attributes=False, + help="Motivational phrase to reach this rank") karma_min = fields.Integer(string='Required Karma', help='Minimum karma needed to reach this rank') user_ids = fields.One2many('res.users', 'rank_id', string='Users', help="Users having this rank") image = fields.Binary('Rank Icon') diff --git a/addons/gamification/static/img/rank_misc_hat.jpg b/addons/gamification/static/img/rank_misc_hat.jpg new file mode 100644 index 00000000000..68abf33bc14 Binary files /dev/null and b/addons/gamification/static/img/rank_misc_hat.jpg differ diff --git a/addons/gamification/static/img/rank_misc_mug.jpg b/addons/gamification/static/img/rank_misc_mug.jpg new file mode 100644 index 00000000000..09cc5567b0e Binary files /dev/null and b/addons/gamification/static/img/rank_misc_mug.jpg differ diff --git a/addons/gamification/static/img/rank_misc_unicorn.jpg b/addons/gamification/static/img/rank_misc_unicorn.jpg new file mode 100644 index 00000000000..5612d5f7855 Binary files /dev/null and b/addons/gamification/static/img/rank_misc_unicorn.jpg differ diff --git a/addons/gamification/static/img/rank_misc_wand.jpg b/addons/gamification/static/img/rank_misc_wand.jpg new file mode 100644 index 00000000000..4e2ec0457f3 Binary files /dev/null and b/addons/gamification/static/img/rank_misc_wand.jpg differ 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 @@ + @@ -35,8 +36,6 @@ - -
@@ -58,6 +57,7 @@ +