diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-09-12 10:37:14 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-09-18 11:12:15 +0200 |
| commit | 56b3db82192d6ed2dad45982ebce9f471cf7c0cf (patch) | |
| tree | ada7d85e8a591fa6a9babecb9c0d97e450de3f03 /addons/gamification/static | |
| parent | 764c5acd81f3793606f1b9f7db48cc27bb837102 (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/gamification/static')
| -rw-r--r-- | addons/gamification/static/src/js/gamification.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/addons/gamification/static/src/js/gamification.js b/addons/gamification/static/src/js/gamification.js index 6e2e5201968..0c02162e59f 100644 --- a/addons/gamification/static/src/js/gamification.js +++ b/addons/gamification/static/src/js/gamification.js @@ -125,16 +125,5 @@ openerp.gamification = function(instance) { sidebar.appendTo($('.oe_mail_wall_aside')); }, }); - - instance.web_kanban.KanbanRecord.include({ - // open related goals when clicking on challenge kanban view - on_card_clicked: function() { - if (this.view.dataset.model === 'gamification.challenge') { - this.$('.oe_kanban_project_list a').first().click(); - } else { - this._super.apply(this, arguments); - } - }, - }); }; |
