I tried to use simple journal with different currencies but with same account name. I have multiple accounts in different currencies in my bank which have the same name.
Example file is here: https://gist.github.com/schmooser/44b0ae5cdfea692ccc17
Output is this: https://gist.github.com/schmooser/00088f3b2b836ca73364
It obviously has wrong formatting of numbers.
Is it a bug or feature as accounts in different currencies should have different names?
Thanks for the report. You're right, and I guess it's a bug. Multicolumn balance report (in particular) gets messed up when it has to display a multi-commodity balance. The tabular library it uses doesn't support multi-line cells. It could probably display multiple commodities on a single line, though the column could become very wide. A mockup of how it should render multiple commodities would be helpful.
Meanwhile, as a workaround I limit my multicolumn balance reports to one commodity at a time, eg:
hledger bal -M cur:\\$
balance: show multi-commodity amts on one line (fixes #186)
To avoid totally breaking the layout of multicolumn balance reports when
there are multi-commodity balances, these are now rendered on a single
line, comma separated. Simple balance reports still use the old vertical
format for now.