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

OD-1528: use end-of-day rates #1

Merged
merged 6 commits into from
Oct 21, 2021

Conversation

pankk
Copy link

@pankk pankk commented Oct 15, 2021

@pankk
Copy link
Author

pankk commented Oct 18, 2021

One of the tests is failing, I'll fix it before proposing it to the OCA.
What I just pushed does not fix it. However, when I use the upstream version I get the same error. Still debugging it.

Copy link

@astirpe astirpe left a 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?

@pankk pankk force-pushed the OD-1528/currency_rate_update_oxr/end-of-day branch from 0f3d54d to bb7f6da Compare October 18, 2021 15:42
@pankk pankk requested a review from astirpe October 18, 2021 15:44
@pankk
Copy link
Author

pankk commented Oct 18, 2021

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".

@dkubiak789 dkubiak789 merged commit 745c816 into 12.0 Oct 21, 2021
@pankk
Copy link
Author

pankk commented Oct 21, 2021

Please don't delete this branch.
Upstream PR: OCA#114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants