From 128032a8b17d6e5399842a79ea40c9be49dd56d2 Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Thu, 11 Jan 2024 11:23:04 +0100 Subject: [PATCH] [FIX] base: correct spanish address format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 8889a896f introduced the state in the address format for spain between parentheses, however if the state is unset this leads to weird values like ``` Isabella López Navarro () Spain ``` which is bad. This commit instead formats spanish addresses by adding the state below the Zip+City line and above the Country, as suggested here: https://en.wikipedia.org/wiki/Address#Spain This avoids empty parentheses. Task-3679058 closes odoo/odoo#149012 Signed-off-by: Bouvy Damien (dbo) --- odoo/addons/base/data/res_country_data.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/addons/base/data/res_country_data.xml b/odoo/addons/base/data/res_country_data.xml index 7c9bd43b6a5..23e99220796 100644 --- a/odoo/addons/base/data/res_country_data.xml +++ b/odoo/addons/base/data/res_country_data.xml @@ -440,7 +440,7 @@ Spain es - + VAT