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(finance): ordergroup overview total balances #1051

Conversation

yksflip
Copy link
Member

@yksflip yksflip commented Mar 7, 2024

  • Introduce more tests for deleted ordergroup and foodcoop transactions.
  • Use the filtered @ordergroups for the @total_balances.
  • This is also much faster as the sum_of_class of the ordergroups are already precomputed.

this shoud fix #1044

@yksflip yksflip force-pushed the 1044-finance-ordergroup-balance-sums-are-misleading-+-performance-issue branch from a35dd26 to 9b05013 Compare March 7, 2024 20:30
@yksflip yksflip changed the title fix(finance): ordergroup overview shows fix(finance): ordergroup overview total balances Mar 7, 2024
* Introduce more tests for deleted ordergroup and foodcoop transactions.
* Use the filtered @ordergroups for the @total_balances.
* This is also much faster as the sum_of_class of the ordergroups are already precomputed.
@yksflip yksflip force-pushed the 1044-finance-ordergroup-balance-sums-are-misleading-+-performance-issue branch from 9b05013 to 6d59434 Compare March 7, 2024 20:31
@yksflip yksflip linked an issue Mar 7, 2024 that may be closed by this pull request
@yksflip yksflip merged commit a5861f5 into master Mar 8, 2024
5 checks passed
@yksflip yksflip deleted the 1044-finance-ordergroup-balance-sums-are-misleading-+-performance-issue branch March 8, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Finance ordergroup balance sums are misleading + performance issue
1 participant