maybe-finance / maybe

The OS for your personal finances
https://maybe.co
GNU Affero General Public License v3.0
28.71k stars 2.19k forks source link

Bug: Multi-currency Support #910

Closed osaroadade closed 1 week ago

osaroadade commented 1 week ago

Describe the bug I live in a country where local accounts do not support international transactions. Because of this, I have a local bank account and a domiciliary one under one financial institution. I would like to be able to manage these account separately. Currently, the app just adds the value of one account to the other even when they are not the same currency type.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Settings > General (Accounts)'
  2. Create a new Institution: Let's call it 'A'
  3. Add a new account to this institution with the current balance as 1 and set the currency as USD (You can call it whatever)
  4. Add another account to the same institution with the current balance as 1 and set the currency to anything other than USD
  5. The total amount would show as $2

Expected behavior What I would like to see here is the total amount on the dashboard should account for both currencies. In this case, I am expecting to see: "$1, ₦1", for instance.

Screenshots / Recordings

image

Additional context I understand that this might be a difficult problem to solve, but I have set up my current banking structure on the app and things are very inaccurate because it isn't taking into account the type of currency used when creating an account and using that to calculate the sum total.