[FIX] gamification, hr_gamification: field alignment in grand badge

field alignment in grand badge

closes odoo/odoo#107015

X-original-commit: 2d55fa65e6dd36586b0bf8b20bd2ca4d43e5109b
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
niyasraphy
2022-12-05 10:07:39 +01:00
parent 50b7727f36
commit 4ac78ff3e9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
Who would you like to reward?
<field name="badge_id" invisible="1"/>
<group>
<field name="user_id" nolabel="1" colspan="4"/>
<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"/>
</group>
<footer>
@@ -11,7 +11,7 @@
<attribute name="invisible">True</attribute>
</field>
<xpath expr="//field[@name='user_id']" position="after">
<field name="employee_id" nolabel="1" domain="[('user_id', '!=', False),('user_id', '!=', uid)]" />
<field name="employee_id" nolabel="1" domain="[('user_id', '!=', False),('user_id', '!=', uid)]" colspan="2"/>
</xpath>
</data>
</field>