Browse Source

Merge PR #1115 into 14.0

Signed-off-by pedrobaeza
14.0
OCA-git-bot 3 years ago
parent
commit
c69e9634b7
  1. 2
      base_location_geonames_import/wizard/geonames_import.py

2
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:

Loading…
Cancel
Save