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: correctly change from and to amount during cross currency Payment Entry (Internal Transfer) #45620

Closed
wants to merge 3 commits into from

Conversation

mihir-kandoi
Copy link
Contributor

Reference issue #45543

Previous behaviour: From and To amounts for Internal Transfer Payment Entries were not being updated when any of the 3 values (3rd being Exchange Rate) were being modified.

New behaviour: To system will now auto compute from and to amounts based on other 2 fields and exchange rate

no-docs

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Jan 30, 2025
@mihir-kandoi mihir-kandoi marked this pull request as ready for review February 3, 2025 09:25
@ruthra-kumar
Copy link
Member

ruthra-kumar commented Feb 4, 2025

This change doesn't work.

Also, let's not add this behavior. There are scenarios where users want to book certain amount under Deductions and the current behavior allows it.

With proposed changes, Paid and Received amount will always be in sync and it won't be possible to book deductions

@Awey01
Copy link

Awey01 commented Feb 4, 2025

Maybe at least change it for the first time, when Received Amount is set? For example if Received Amount was 0, then gets set to 100, and Target Exchange Rate is 1.05, then Paid Amount becomes 105, but if Received or Paid amount is changed again, they will not be in sync

2025-02-04.16-13-13.mp4

@Awey01
Copy link

Awey01 commented Feb 4, 2025

@ruthra-kumar

@ruthra-kumar
Copy link
Member

ruthra-kumar commented Feb 6, 2025

Maybe at least change it for the first time,

This can be done.

#45762

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