Skip to content

Commit

Permalink
[FIX] base_vat: properly display in context
Browse files Browse the repository at this point in the history
Having the VAT VIES Check valid field directly next to the VAT number
as an inline element becomes unreadable, so we wrap it add padding and text-nowrap

closes odoo#159332

Signed-off-by: William André (wan) <wan@odoo.com>
  • Loading branch information
wtaferner authored and willylohws committed May 1, 2024
1 parent e536d79 commit 80fa157
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions addons/base_vat/views/res_partner_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
</xpath>
<xpath expr="//div[@name='vat_vies_container']" position="inside">
<xpath expr="//field[@name='vat']" position="move"/>
<label for="vies_valid" invisible="not perform_vies_validation"/>
<field name="vies_valid" invisible="not perform_vies_validation" class="oe_inline"/>
<span class="text-nowrap ps-2">
<label for="vies_valid" invisible="not perform_vies_validation"/>
<field name="vies_valid" invisible="not perform_vies_validation" class="oe_inline"/>
</span>
</xpath>
<xpath expr="//field[@name='vat']" position="attributes">
<attribute name="class" position="add" separator=" ">oe_inline</attribute>
Expand Down

0 comments on commit 80fa157

Please sign in to comment.