Skip to content

[18.0][FIX] currency_rate_update_xe: Obtain the values without locks + tests - #241

Merged
OCA-git-bot merged 2 commits into
OCA:18.0from
Tecnativa:18.0-fix-currency_rate_update_xe-TT65060
Oct 19, 2026
Merged

OCA-git-bot merged 2 commits into
OCA:18.0from
Tecnativa:18.0-fix-currency_rate_update_xe-TT65060

Conversation

@victoralmau

@victoralmau victoralmau commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Superseed #234

Obtain the values without locks + tests

Please @pedrobaeza and @sergio-teruel can you review it?

@Tecnativa TT65060

mohamedhagag and others added 2 commits October 19, 2026 13:47
xe.com started blocking requests without a User-Agent header around
May 2025, returning HTTP 403 which silently produced empty rate results.
Add a browser User-Agent, call raise_for_status() so errors surface
as a proper UserError, and switch the base URL to HTTPS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 18.0-ocabot-merge-pr-241-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 3258a23 into OCA:18.0 Oct 19, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@pedrobaeza
pedrobaeza deleted the 18.0-fix-currency_rate_update_xe-TT65060 branch October 19, 2026 14:14
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.

5 participants