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: Get Entries not showing accounts with no gain or loss in Exchange Rate Revaluation issue fixed #43414

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

vishakhdesai
Copy link
Contributor

@vishakhdesai vishakhdesai commented Sep 28, 2024

Issue:

Get Entries in Exchange Rate Revaluation is not fetching those entries where gain/loss is zero. User may want to set a different exchange rate manually.

image

Fix:

Remove the condition if_gain_loss from calculate_new_account_balance method and instead remove the rows with zero gain/loss in before_submit.

image

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Sep 28, 2024
@sagarvora sagarvora added backport version-14-hotfix backport to version 14 backport version-15-hotfix and removed needs-tests This PR needs automated unit-tests. labels Sep 28, 2024
@sagarvora sagarvora added the squash Meant to tell reviewers that this PR should be squashed into a single commit while merging. label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport version-14-hotfix backport to version 14 backport version-15-hotfix squash Meant to tell reviewers that this PR should be squashed into a single commit while merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants