-
Notifications
You must be signed in to change notification settings - Fork 0
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
OD-1528: use end-of-day rates #1
Conversation
One of the tests is failing, I'll fix it before proposing it to the OCA. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you going to add tests here?
0f3d54d
to
bb7f6da
Compare
Test fixed. The issue was that on my local the company's currency is set to EUR by default (on a database that Odoo creates when running tests with a database name that doesn't exist yet), while the OCA defaults to USD. I haven't looked at how this default gets determined, but the change to the test here allows for both to work. A future improvement is to make it "default currency agnostic". |
currency_rate_update_oxr/models/res_currency_rate_provider_OXR.py
Outdated
Show resolved
Hide resolved
Please don't delete this branch. |
https://vmbikes.atlassian.net/browse/OD-1528
Upstream PR: OCA#114