Add [country] Use Tryton's CDN to download postal codes Remove on 6.4.

Delete resolved issues.

Task #048600
This commit is contained in:
Juanjo Garcia 2022-02-04 14:00:36 +01:00
parent ec2938b1c1
commit 977a597707
2 changed files with 15 additions and 2 deletions

13
issue8952.diff Normal file
View File

@ -0,0 +1,13 @@
diff --git a/trytond/trytond/modules/country/scripts/import_postal_codes.py b/trytond/trytond/modules/country/scripts/import_postal_codes.py
index 160aed5..d0b3e8e 100755
--- a/trytond/trytond/modules/country/scripts/import_postal_codes.py
+++ b/trytond/trytond/modules/country/scripts/import_postal_codes.py
@@ -36,7 +36,7 @@ def clean(code):
def fetch(code):
sys.stderr.write('Fetching')
- url = 'https://download.geonames.org/export/zip/%s.zip' % code
+ url = 'https://downloads-cdn.tryton.org/geonames/%s.zip' % code
responce = urlopen(url)
data = responce.read()
with zipfile.ZipFile(BytesIO(data)) as zf:

4
series
View File

@ -46,5 +46,5 @@ sao_remove_email.diff # [sao] Removes the email button from the toolbar
issue10161.diff # [sale] issue10161: Configuration of invoice_method and shipment_method at customer level. (only 6.0)
issue11051.diff # [account_invoice_defer] Add default company to invoice deferred (only 6.0)
issue11006.diff # [account_invoice_defer] Add company to on_change_invoice_line depends (only 6.0)
issue11049.diff # [account_invoice_defer] Raise user error message for account not configured (only 6.0)
issue8952.diff # [country] Use Tryton's CDN to download postal codes Remove on 6.4