#27 Currencies don't update in old accounts


If you make an account, then add a currency, the
existing accounts don't have the option to change to
the new currency. If another account is added, the
currency can be switched at will. Is that intentional?


  • Brian Sweeney

    Brian Sweeney - 2006-08-30
    • priority: 5 --> 2
  • Nigel Westbury

    Nigel Westbury - 2007-06-10

    Logged In: YES
    Originator: NO

    This is intentional. You can change the currency of an account only if there are no entries in the account. We introduce problems if we allow the currency to change when there are entries in the account. Changing the currency would then be not only changing the currency of the account, but also changing the currency of all the entries in the account. Do we then change the currency for the other entries in the transactions? This would be very problematic because we would then have to change the currency of all the other accounts in which the matching entries appear. Alternatively we could change all the transactions to be multi-currency transactions, with an exchange rate of one-to-one. This would not be likely correct or what the user expected either.

    Perhaps we need better user feedback. Perhaps a message saying that the currency of the account can't be changed because there are entries in the account. I am not sure how to do this. Do we enable the currency combo box but give the error if the user tries to select another currency?

    Also, what is the scenario in which you want to change the currency of an account in this situation? If there is a genuine need then a plug-in could be written that does this and that deals all the complications by communicating them with the user.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks