c712105bed
The main impetus of this change is to rename accounts that were outside Beancount's accepted five root accounts, to move them into that structure. This includes: Accrued:*Payable: → Liabilities:Payable:* Accrued:*Receivable: → Assets:Receivable:* UneanedIncome:* → Liabilities:UnearnedIncome:* Note the last change did inspire in a change to our validation rules. We no longer require income-type on unearned income, because it's no longer considered income at all. Once it's earned and converted to an Income account, that has an income-type of course. This did inspire another rename that was not required, but provided more consistency with the other account names above: Assets:Prepaid* → Assets:Prepaid:* Where applicable, I have generally extended tests to make sure one of each of the five account types is tested. (This mostly meant adding an Equity account to the tests.) I also added tests for key parts of the hierarchy, like Assets:Receivable and Liabilities:Payable, where applicable. As part of this change, Account.is_real_asset() got renamed to Account.is_cash_equivalent(), to better self-document its purpose. |
||
---|---|---|
.. | ||
repository/Projects | ||
userconfig | ||
__init__.py | ||
conftest.py | ||
test_config.py | ||
test_data_account.py | ||
test_data_iter_postings.py | ||
test_data_metadata.py | ||
test_data_posting.py | ||
test_data_posting_meta.py | ||
test_meta_approval.py | ||
test_meta_entity.py | ||
test_meta_expense_allocation.py | ||
test_meta_income_type.py | ||
test_meta_invoice.py | ||
test_meta_project.py | ||
test_meta_receipt.py | ||
test_meta_receivable_documentation.py | ||
test_meta_repo_links.py | ||
test_meta_rt_links.py | ||
test_meta_tax_implication.py | ||
test_plugin.py | ||
test_rtutil.py | ||
testutil.py |