mafm / ledger.py

Command-line, double-entry accounting in python. Excel and text output.
Other
45 stars 17 forks source link

prevent postings being made to non-leaf accounts #9

Open mafm opened 11 years ago

mafm commented 11 years ago

There should at least be an option to prevent this, and it should probably be the default.

If an account has sub-accounts, we probably shouldn't make postings to it directly as well.

Postings to non-leaf accounts complicates report generation. Normally, we would just include a set of transactions, or a set of sub-accounts under a non-leaf node. Transactions can be date-sorted & sub-accounts can be alphabetically sorted, but combining the transaction postings and sub-accounts makes for a confusing interface.