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: