[FIX] account: fix alignment of fields

This commit fixes the alignment of fields in the
setup wizard template. Since the conversion of those
fields, some parts of the DOM have been altered, and
the oe_inline class makes the inputs and selects
elements larger than it should.

After this commit, and its enterprise counterpart,
the UI is correctly aligned.

closes odoo/odoo#99675

Enterprise: https://github.com/odoo/enterprise/pull/31103
Related: odoo/enterprise#31103
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
luvi
2022-09-07 11:25:55 +02:00
parent e2ffff1e42
commit 3d5b7010c0
+2 -3
View File
@@ -15,9 +15,8 @@
<label for="fiscalyear_last_month" string="Fiscal Year End"/>
<div>
<field name="fiscalyear_last_day" class="oe_inline text-center" style="width: 20% !important;"/>
<span style="width: 5%; display: inline-block"/>
<field name="fiscalyear_last_month" class="oe_inline" style="width: 75% !important;"/>
<field name="fiscalyear_last_day" class="text-center me-2" style="width: 20% !important;"/>
<field name="fiscalyear_last_month" class="w-75"/>
</div>
</group>
</group>