[2.0.13] Forecast for accounts in non-default currency is calculated incorrectly

Steps to reproduce:

  1. Set the default app currency to EUR (for example)

  2. Create an account in UAH (Credit card in my example)

  3. Use system locale with UAH as a currency (not sure if relevant, but might be)

  4. Create a repeating transaction for the UAH account in UAH

  5. When the transaction is tracked, it’s value is calculated properly (screenshot #1)

  6. Open the forecast and observe that the balance is calculated incorrectly (screenshot #2)

It’s seems like in the forecast it’s taking the current balance in UAH (-100), then converts the upcoming transaction from UAH to EUR (100*exchange_rate=2.28) and substracts the value from the current balance, leading to -102,28UAH being a forecasted balance, while the actual expected value should be -200UAH.

Reproducible both on iOS and macOS.

Please let me know if you need any additional info πŸ™

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
Custom icon

Budget Flow

Tags

🐞 Bug Reports

ETA
Dec 01, 2024
Date

Over 1 year ago

Author

austinate

Subscribe to post

Get notified by email when there are changes.