summaryrefslogtreecommitdiff
path: root/addons/hr_gamification
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2014-09-12 10:37:14 +0200
committerThibault Delavallée <tde@openerp.com>2014-09-18 11:12:15 +0200
commit56b3db82192d6ed2dad45982ebce9f471cf7c0cf (patch)
treeada7d85e8a591fa6a9babecb9c0d97e450de3f03 /addons/hr_gamification
parent764c5acd81f3793606f1b9f7db48cc27bb837102 (diff)
[IMP] gamification: usability and shit
Challenge - 'Reward as soon as every goal is reached' box checked by default (most of the time people want this behaviour, few special cases were do not) - Click on challenge kanban opens goal list instead of challenge form - Add button 'Start Challenge' clicking on statusbar is not intuitive Badge - When creates a challenge from badge view, set by default badge to 'For Every Succeding User' field - replace filter 'Current' vs 'Passed' by 'Running' (in progress and done with not reached end date) vs 'Done' (done & failed without end date or end date passed) Goal - list of badge on employee form not the first tab
Diffstat (limited to 'addons/hr_gamification')
-rw-r--r--addons/hr_gamification/views/gamification.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/hr_gamification/views/gamification.xml b/addons/hr_gamification/views/gamification.xml
index 60c758a717d..1c95fef53d5 100644
--- a/addons/hr_gamification/views/gamification.xml
+++ b/addons/hr_gamification/views/gamification.xml
@@ -21,7 +21,7 @@
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
- <xpath expr="//page[@string='Public Information']" position="before">
+ <xpath expr="//page[@string='Public Information']" position="after">
<page string="Received Badges" attrs="{'invisible': [('user_id', '=', False)]}">
<field name="has_badges" invisible="1"/>
<button string="Grant a Badge" type="action" name="%(action_reward_wizard)d"/> to reward this employee for a good action
@@ -34,8 +34,6 @@
</div>
<field name="badge_ids" widget="many2many_kanban" />
</page>
- </xpath>
- <xpath expr="//page[@string='Public Information']" position="after">
<page string="Goals">
<field name="goal_ids" widget="many2many_kanban" />
</page>