Automatic Update form OCA2FC Migrator

This commit is contained in:
Flectra Community Bot 2021-06-10 07:18:33 +00:00 committed by OCA2FC Migrator Bot
parent 3c1512c3da
commit 54dc3f920e
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Flectra Community / Flectra 2.0 / partner-contact # Flectra Community / partner-contact
None 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_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 [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 [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_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_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. [partner_vat_unique](partner_vat_unique/) | 2.0.1.0.0| Module to make the VAT number unique for customers and suppliers.

View File

@ -7,7 +7,7 @@
{ {
"name": "Base Location Geonames Import", "name": "Base Location Geonames Import",
"version": "2.0.1.0.0", "version": "2.0.1.0.1",
"category": "Partner Management", "category": "Partner Management",
"license": "AGPL-3", "license": "AGPL-3",
"summary": "Import zip entries from Geonames", "summary": "Import zip entries from Geonames",

View File

@ -224,7 +224,7 @@ class CityZipGeonamesImport(models.TransientModel):
if zip_vals not in zip_vals_list: if zip_vals not in zip_vals_list:
zip_vals_list.append(zip_vals) zip_vals_list.append(zip_vals)
else: else:
old_zips.remove(zip_code.id) old_zips.discard(zip_code.id)
self.env["res.city.zip"].create(zip_vals_list) self.env["res.city.zip"].create(zip_vals_list)
if not max_import: if not max_import:
if old_zips: if old_zips: