From 54dc3f920e8e86cd042976a0a715d489e934b1c8 Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Thu, 10 Jun 2021 07:18:33 +0000 Subject: [PATCH] Automatic Update form OCA2FC Migrator --- README.md | 4 ++-- base_location_geonames_import/__manifest__.py | 2 +- base_location_geonames_import/wizard/geonames_import.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2367819..87e6735 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Flectra Community / Flectra 2.0 / partner-contact +# Flectra Community / partner-contact None @@ -34,7 +34,7 @@ addon | version | summary [partner_address_street3](partner_address_street3/) | 2.0.1.0.0| Add a third address line on partners [partner_company_type](partner_company_type/) | 2.0.1.0.1| Adds a company type to partner that are companies [portal_partner_select_all](portal_partner_select_all/) | 2.0.1.1.0| Portal Partner Select All -[base_location_geonames_import](base_location_geonames_import/) | 2.0.1.0.0| Import zip entries from Geonames +[base_location_geonames_import](base_location_geonames_import/) | 2.0.1.0.1| Import zip entries from Geonames [partner_contact_birthdate](partner_contact_birthdate/) | 2.0.1.0.0| Contact's birthdate [partner_identification](partner_identification/) | 2.0.1.2.0| Partner Identification Numbers [partner_vat_unique](partner_vat_unique/) | 2.0.1.0.0| Module to make the VAT number unique for customers and suppliers. diff --git a/base_location_geonames_import/__manifest__.py b/base_location_geonames_import/__manifest__.py index 40d8103..7a0563a 100644 --- a/base_location_geonames_import/__manifest__.py +++ b/base_location_geonames_import/__manifest__.py @@ -7,7 +7,7 @@ { "name": "Base Location Geonames Import", - "version": "2.0.1.0.0", + "version": "2.0.1.0.1", "category": "Partner Management", "license": "AGPL-3", "summary": "Import zip entries from Geonames", diff --git a/base_location_geonames_import/wizard/geonames_import.py b/base_location_geonames_import/wizard/geonames_import.py index 126ac6c..de60947 100644 --- a/base_location_geonames_import/wizard/geonames_import.py +++ b/base_location_geonames_import/wizard/geonames_import.py @@ -224,7 +224,7 @@ class CityZipGeonamesImport(models.TransientModel): if zip_vals not in zip_vals_list: zip_vals_list.append(zip_vals) else: - old_zips.remove(zip_code.id) + old_zips.discard(zip_code.id) self.env["res.city.zip"].create(zip_vals_list) if not max_import: if old_zips: