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: difference amount calculation logic in Payment Entry UI #36899

Conversation

ruthra-kumar
Copy link
Member

@ruthra-kumar ruthra-kumar commented Sep 1, 2023

When adding references in Payment Entry, use Payment Entries exchange rate to calculate base_total_allocated_amount. This is to avoid difference amount being generated and submitted by Payment Entry. Said difference amount will be calculated and posted by Journals by an internal logic

before:

before_exc.mp4

after:

after_exc.mp4

part of: #36873
fixes: #36873 (comment)

@ruthra-kumar ruthra-kumar merged commit 0e51722 into frappe:develop Sep 1, 2023
7 checks passed
@ruthra-kumar ruthra-kumar added the backport version-14-hotfix backport to version 14 label Sep 1, 2023
ruthra-kumar added a commit that referenced this pull request Sep 1, 2023
…-36899

fix: difference amount calculation logic in Payment Entry UI (backport #36899)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Payment Entry : Exchange Gain/ loss
1 participant