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

Fix bank graph in case statements are not in order #20987

Closed
wants to merge 1 commit into from
Closed

Fix bank graph in case statements are not in order #20987

wants to merge 1 commit into from

Conversation

remi-filament
Copy link
Contributor

In case the output from PSQL does not provide dates in order, the calculation mode used to build the line graph reports wrong results.
This is fixed by ordering output from DB by adding an ORDER BY clause.

Description of the issue/feature this PR addresses: Line graph in Accounting / Dashboard for bank accounts

Current behavior before PR: In case the output from PSQL does not provide dates in order, the calculation mode used to build the line graph reports wrong results and the graph becomes useless since all bank statements outputs are mixed up.

Desired behavior after PR is merged: Get a proper bank flow graph

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

In case the output from PSQL does not provide dates in order, the calculation mode used to build the line graph reports wrong results.
This is fixed by ordering output from DB by adding an ORDER BY clause.
@remi-filament
Copy link
Contributor Author

Solved in parallel by #29936

@robodoo robodoo added seen 🙂 CI 🤖 Robodoo has seen passing statuses labels Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants