Fix incorrect partial sync balance generation #1223
Reference in New Issue
Block a user
Delete Branch "1204-bug-incorrect-total-value-every-day-in-foreign-currency-account"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For partial syncs, when searching for the "last synced balance", we were not filtering on currency.
Because of this, for foreign currency accounts in some cases, we were fetching the "converted" balance, causing the bug described in #1204