-
Notifications
You must be signed in to change notification settings - Fork 761
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 798950 - Bug Report: Incorrect Currency Conversion and Provider I…
…nvoice Payment Recording - Balancing lots always involves splits in the same account. So the relevant number to use in the calculations is the split amount, not the split value. - Additionally don't assume transactions are single-currency. So if amounts change, recalculate the associated values based on deduced exchange rates. - Finally if the lot balancing resulted in a split to be broken up into two splits use conservative calculations for the new splits' values to avoid introducing imbalances due to rounding errors.
- Loading branch information
Showing
2 changed files
with
60 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters