From 667394d65fea47e01b31392cbad832a8dfea4df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Rahir?= Date: Tue, 12 May 2020 14:13:40 +0000 Subject: [PATCH] [FIX] snailmail: Update country names map MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some country names were not properly handled by the provider. closes odoo/odoo#51134 X-original-commit: 285d5d65c3c04a12db399000566c8658306622f9 Signed-off-by: Rémi Rahir (rar) --- addons/snailmail/country_utils.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/snailmail/country_utils.py b/addons/snailmail/country_utils.py index 636f53f09d0..53a212285ae 100644 --- a/addons/snailmail/country_utils.py +++ b/addons/snailmail/country_utils.py @@ -48,12 +48,12 @@ SNAILMAIL_COUNTRIES = { "CK": "Cook Islands", "CL": "Chile", "CM": "Cameroon", - "CN": "China People's Republic", + "CN": "China", "CO": "Colombia", "CR": "Costa Rica", "CU": "Cuba", "CV": "Cape Verde", - "CW": "Cura\u00e7ao", + "CW": "Curacao", "CX": "Christmas Island", "CY": "Cyprus", "CZ": "Czech Republic", @@ -102,6 +102,7 @@ SNAILMAIL_COUNTRIES = { "HR": "Croatia", "HT": "Haiti", "HU": "Hungary", + "IC": "Canary Islands", "ID": "Indonesia", "IE": "Ireland", "IL": "Israel", @@ -203,7 +204,7 @@ SNAILMAIL_COUNTRIES = { "SH": "Ascension StHelena & Tristan", "SI": "Slovenia", "SJ": "Svalbard and Jan Mayen", - "SK": "Slovak Republic", + "SK": "Slovakia", "SL": "Sierra Leone", "SM": "San Marino", "SN": "Senegal",