diff --git a/addons/gamification/badge_view.xml b/addons/gamification/badge_view.xml index 8d4db8dff8e..3f2199d1a2b 100644 --- a/addons/gamification/badge_view.xml +++ b/addons/gamification/badge_view.xml @@ -159,9 +159,8 @@
Can not grant

- Stats
- Total:
- This month: + granted,
+ this month

diff --git a/addons/gamification/goal.py b/addons/gamification/goal.py index 3398f094a37..cb0e554370c 100644 --- a/addons/gamification/goal.py +++ b/addons/gamification/goal.py @@ -59,7 +59,7 @@ class gamification_goal_type(osv.Model): return res _columns = { - 'name': fields.char('Goal Type Name', required=True, translate=True), + 'name': fields.char('Goal Type', required=True, translate=True), 'description': fields.text('Goal Description'), 'monetary': fields.boolean('Monetary Value', help="The target and current value are defined in the company currency."), @@ -95,7 +95,7 @@ class gamification_goal_type(osv.Model): help="Technical filters rules to apply", required=True), 'compute_code': fields.char('Compute Code', - help="The name of the python method that will be executed to verify if a user can receive this badge."), + help="The name of the python method that will be executed to compute the current value. See the file gamification/goal_type_data.py for examples."), 'condition': fields.selection([ ('higher', 'The higher the better'), diff --git a/addons/gamification/goal_base_data.xml b/addons/gamification/goal_base_data.xml index a4790a1c692..e2861bda863 100644 --- a/addons/gamification/goal_base_data.xml +++ b/addons/gamification/goal_base_data.xml @@ -79,7 +79,7 @@ - Manage your Personal Profile + Complete your Profile once progressbar never @@ -89,7 +89,7 @@ - Manage your Company Profile + Setup your Company once progressbar never diff --git a/addons/gamification/goal_view.xml b/addons/gamification/goal_view.xml index 42907747887..4e8612e5128 100644 --- a/addons/gamification/goal_view.xml +++ b/addons/gamification/goal_view.xml @@ -249,8 +249,8 @@ - - + + diff --git a/addons/gamification/static/src/css/gamification.css b/addons/gamification/static/src/css/gamification.css index 15a6daa48d2..cc20afede80 100644 --- a/addons/gamification/static/src/css/gamification.css +++ b/addons/gamification/static/src/css/gamification.css @@ -119,7 +119,7 @@ .openerp .oe_mail_wall_aside .oe_goals_list .oe_cell.oe_goal_current { font-size: 150%; font-weight: bold; - min-width: 20px; + min-width: 50px; padding: 0 5px; } .openerp .oe_mail_wall_aside .oe_goals_list .oe_no_progress.oe_goal_reached .oe_cell { @@ -160,10 +160,7 @@ padding-left: 0; margin-top: 5px; margin-bottom: 10px; - width: 95%; -} -.openerp .oe_mail_wall_aside .oe_goals_list .oe_row { - margin-bottom: 10px; + width: 100%; } .openerp .oe_mail_wall_aside .oe_goals_list .oe_thead { diff --git a/addons/gamification/static/src/xml/gamification.xml b/addons/gamification/static/src/xml/gamification.xml index 97b69453490..1c655afbb64 100644 --- a/addons/gamification/static/src/xml/gamification.xml +++ b/addons/gamification/static/src/xml/gamification.xml @@ -16,29 +16,28 @@
+
- - -
+
+ + -
- - - - - - - + + + +
+
- (target: + Target: - (target less than: + Target less than: - ) - -
+ +
+ +
@@ -61,7 +60,7 @@
-
+
@@ -70,8 +69,9 @@
- -
+
+ + @@ -80,8 +80,17 @@ + + + + + + + + + +
-