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

Consider against_voucher_no when voucher_no is filtered #44533

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

venkat102
Copy link
Contributor

Issue:
General Ledger does not consider the against voucher type and against voucher when there isn't any grouping
ref: 26554

Solution:
When there isn't any grouping and the voucher is filtered Group by Voucher (Consolidated) is set to filters.group_by, so the against_voucher_no is not taken into consideration.
I removed the Group by Voucher (Consolidated) assignment and ignored the opening and closing of the voucher

image

Before:
image

After:
image

Backport needed for v15

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Dec 5, 2024
@venkat102 venkat102 marked this pull request as ready for review December 5, 2024 07:35
@ruthra-kumar ruthra-kumar self-assigned this Dec 6, 2024
@ruthra-kumar
Copy link
Member

ruthra-kumar commented Dec 9, 2024

@venkat102

I couldn't replicate this locally. Is this issue isolated to Journal Entries?

@venkat102
Copy link
Contributor Author

@venkat102

I couldn't replicate this locally. Is this issue isoldated to Journal Entries?

@ruthra-kumar Yes, In the payment entry, the unallocated amount has referenced itself in against voucher so it'll get passed in this condition, but in Journal entry one row doesn't have the against voucher reference and the other row has it, so the condition is failing and against voucher is not added in the data

@ruthra-kumar ruthra-kumar enabled auto-merge (squash) December 11, 2024 10:09
@ruthra-kumar ruthra-kumar merged commit 3595783 into frappe:develop Dec 11, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants