From 8d08677b0dcfc04260eb805c608d44c42f995775 Mon Sep 17 00:00:00 2001 From: "John Laterre (jol)" Date: Tue, 16 Aug 2022 15:25:45 +0000 Subject: [PATCH] [IMP] base: add div on country_id The purpose of this PR is to inline the "Validate" button with the `country_id` field on the partner form view when using Avatax. task-2947705 closes odoo/odoo#100093 Related: odoo/enterprise#31277 Signed-off-by: Olivier Colson (oco) --- odoo/addons/base/views/res_partner_views.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/odoo/addons/base/views/res_partner_views.xml b/odoo/addons/base/views/res_partner_views.xml index 50f34bc390b..4179fa26080 100644 --- a/odoo/addons/base/views/res_partner_views.xml +++ b/odoo/addons/base/views/res_partner_views.xml @@ -206,8 +206,10 @@ attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}" context="{'country_id': country_id, 'default_country_id': country_id, 'zip': zip}"/> - +
+ +