Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][FIX] base_location_geonames_import: Fixes for re-imports #1911

Conversation

pedrobaeza
Copy link
Member

@pedrobaeza pedrobaeza commented Dec 1, 2024

Before this commit, there were 2 possible errors re-importing ZIPs:

  • If city names are changed on the import process (like capitalization), the code for detecting existing entries was not taking that into account, failing to find the city.
  • If there's more than one found result, using discard for removing the result from the ZIPs to remove gives an error.

@Tecnativa TT52020

Befor this commit, there were 2 possible errors re-importing ZIPs:

- If city names are changed on the import process (like capitalization),
  the code for detecting existing entries was not taking that into
  account, failing to find the city.
- If there's more than one found result, using `discard` for removing
  the result from the ZIPs to remove gives an error.

TT52020
@pedrobaeza pedrobaeza added this to the 16.0 milestone Dec 1, 2024
@pedrobaeza
Copy link
Member Author

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-1911-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 4d49bb9 into OCA:16.0 Dec 4, 2024
9 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 199fc4c. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 16.0-fix-base_location_geonames_import-reimport branch December 4, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants