[FIX] gamification: fix comment field width in form

Before this commit, the comment field in the view_badge_wizard_grant form is
displayed with a long with higher width and thus it appears with scroll bar in
the screen.

How to reproduce
  Go to Settings -> Gamification Tools -> Badges
  Click Grand on any badge

After this commit, the comment field will properly align in the form.

closes odoo/odoo#111412

X-original-commit: 69eb431cea959270d3fb2f12ec9dbb451750ce06
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
niyasraphy
2023-01-31 12:56:22 +01:00
committed by Thibault Delavallée
parent 74c684d541
commit 5c0477f929
+1 -1
View File
@@ -8,7 +8,7 @@
<field name="badge_id" invisible="1"/>
<group>
<field name="user_id" nolabel="1" colspan="2"/>
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters (will be public)" colspan="4"/>
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters (will be public)" colspan="2"/>
</group>
<footer>
<button string="Grant Badge" type="object" name="action_grant_badge" class="btn-primary" data-hotkey="q"/>