[FIX] hr_gamification: properly show "Reward Employee" wizard

The `comment` field was not properly displayed since the move to grid display.

closes odoo/odoo#106197

X-original-commit: bf98d880087ccc562712d82fa690f76d58dedfef
Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
Kevin Baptiste
2022-11-22 08:34:55 +01:00
parent bc231ec6e3
commit 66bbb82705
@@ -24,11 +24,13 @@
<form string="Reward Employee with">
What are you thankful for?
<group>
<field name="employee_id" invisible="1" />
<field name="user_id" invisible="1" />
<field name="badge_id" nolabel="1" colspan="4" />
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters (will be public)" />
<group>
<field name="employee_id" invisible="1" />
<field name="user_id" invisible="1" />
<field name="badge_id" nolabel="1" colspan="4" />
</group>
</group>
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters (will be public)" />
<footer>
<button string="Reward Employee" type="object" name="action_grant_badge" class="btn-primary" data-hotkey="q"/>
<button string="Cancel" special="cancel" data-hotkey="z" class="btn-secondary"/>