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 #159332

Signed-off-by: William André (wan) <wan@odoo.com>
  • Loading branch information
wtaferner committed Apr 3, 2024
1 parent a08e32d commit f62d35e
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 f62d35e

Please sign in to comment.