summaryrefslogtreecommitdiff
path: root/addons/gamification/wizard
diff options
context:
space:
mode:
authorKeyur Gajjar <kga@odoo.com>2015-12-14 19:02:31 +0530
committerYannick Tivisse <yti@odoo.com>2016-03-21 14:02:10 +0100
commit82e35bce6c4fa2e6dca98309f7a9483a9a719eb9 (patch)
treebb5773e41a238f252b5a0321a6e9b509350a3805 /addons/gamification/wizard
parentbea7b198621a76f3f29853fc8725e9821ff375cc (diff)
[FIX] gamification: several layout issues
1/ ISSUES WITH BADGES: Go to menu Employees > Badges > Select any Badge from kanban View. Click on "GRANT THIS BADGE" button. - When you grant a badge, the description field is not at the right place. It should be below the employee field - Badges Form View: "Granted Employees" should be a stat button with a counter - Badges form view is broken, field label/values are not at right place 2/ ISSUES WITH CHALLENGES: Go to menu Employees > Challenges Challenges Kanban View - Image Avatars are too big, make it smaller. - Challenges Form View > Advanced Options : fields Report frequency, Report Template and Send a Copy to are ugly
Diffstat (limited to 'addons/gamification/wizard')
-rw-r--r--addons/gamification/wizard/grant_badge.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/gamification/wizard/grant_badge.xml b/addons/gamification/wizard/grant_badge.xml
index 58628e26d25..27ea32677c8 100644
--- a/addons/gamification/wizard/grant_badge.xml
+++ b/addons/gamification/wizard/grant_badge.xml
@@ -8,10 +8,10 @@
<field name="arch" type="xml">
<form string="Grant Badge To">
Who would you like to reward?
+ <field name="badge_id" invisible="1"/>
<group>
- <field name="user_id" nolabel="1" />
- <field name="badge_id" invisible="1"/>
- <field name="comment" nolabel="1" placeholder="Describe what they did and why it matters (will be public)" class="oe_no_padding" />
+ <field name="user_id" nolabel="1" colspan="4"/>
+ <field name="comment" nolabel="1" placeholder="Describe what they did and why it matters (will be public)" colspan="4"/>
</group>
<footer>
<button string="Grant Badge" type="object" name="action_grant_badge" class="btn-primary" />