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: split lines should not be returned for gathering invoices #2124

Conversation

turip
Copy link
Contributor

@turip turip commented Jan 21, 2025

Overview

Right now we have a sugar on gathering invoices that calculates the totals, for that we fetch all the lines regardless of the expand settings.

This patch ensures that we are emulating the expand settings in terms of lines so that we are not returning extra data.

@turip turip force-pushed the feature/om-1072-split-lines-should-not-be-returned-for-gathering-invoices branch from 44f0335 to 94720fe Compare January 21, 2025 09:40
@turip turip changed the base branch from feature/om-1094-list-invoices-shows-deleted-invoices to main January 21, 2025 09:41
@turip turip force-pushed the feature/om-1072-split-lines-should-not-be-returned-for-gathering-invoices branch from 94720fe to 4e7243e Compare January 21, 2025 09:59
Right now we have a sugar on gathering invoices that calculates the totals, for that
we fetch all the lines regardless of the expand settings.

This patch ensures that we are emulating the expand settings in terms of lines so that
we are not returning extra data.
@turip turip force-pushed the feature/om-1072-split-lines-should-not-be-returned-for-gathering-invoices branch from 4e7243e to f370b99 Compare January 21, 2025 10:09
@turip turip marked this pull request as ready for review January 21, 2025 11:31
@turip turip merged commit d206126 into main Jan 21, 2025
24 checks passed
@turip turip deleted the feature/om-1072-split-lines-should-not-be-returned-for-gathering-invoices branch January 21, 2025 11:34
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.

2 participants