Skip to content
Discussion options

You must be logged in to vote

I would model those as separate accounts, one per currency.

The app has multi-currency support, but the current Account model has a single main currency field. It also has exchange_currency, but that is described in the model as the default currency for exchange calculations, not as a second balance currency inside the same account.

So a real bank account with EUR and USD pockets would map more cleanly to something like:

Bank name - EUR
Bank name - USD

Then use the same group/name convention to keep them visually related.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by eitchtee
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants