From f2545214aa50cb6f5188f43399522f9ea2f4fe62 Mon Sep 17 00:00:00 2001 From: "Daniel Kosky (dako)" Date: Thu, 12 Oct 2023 13:33:03 +0000 Subject: [PATCH] [FIX] base_vat: xpath overrides autocomplete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The xpath used in the res_partner_view replaces the vat field with a div, containing the partner vat and the VIES valid field (such that they are displayed on a single row). This results in the partner-autocomplete being removed from the field. The solution is to make a div, and a subsequent xpath that moves the "vat" field into this div (alongside the vies valid field). This no longer overrides the partner-autocomplete xpath. closes odoo/odoo#154506 Task-id: none X-original-commit: ffc8441b4ba09e3d10f15425c32f8fdb3fb7d863 Signed-off-by: William André (wan) Signed-off-by: Daniel Kosky (dako) Co-authored-by: aliya --- addons/base_vat/views/res_partner_views.xml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/addons/base_vat/views/res_partner_views.xml b/addons/base_vat/views/res_partner_views.xml index 453107ab227..789f4f3f8c1 100644 --- a/addons/base_vat/views/res_partner_views.xml +++ b/addons/base_vat/views/res_partner_views.xml @@ -6,14 +6,18 @@ view.partner.base.vat.form - +