ledger
ledger copied to clipboard
Automated transactions not shown with "--related"
It seems that automated transactions are not shown with "--related" option. Example file:
= /^Income:Interests/
Income:Interests 0.2346
Expenses:Taxes -0.2346
2019/11/9 Interests
Assets:Checking $20
Income:Interests
Automatic transaction works right:
$ ledger -f example.ldg reg income
19-Nov-09 Interests Income:Interests $-20 $-20
Income:Interests $-5 $-25
$ ledger -f example.ldg reg expenses
19-Nov-09 Interests Expenses:Taxes $5 $5
However, if i try to find the related transactions, the automated transaction to "Expenses:Taxes" is lost:
$ ledger -f example.ldg reg income -r
19-Nov-09 Interests Assets:Checking $20 $20
I don't know if this bug is related to https://github.com/ledger/ledger/issues/1186 (ledger print doesn't show automated transactions)
A duplicated issue #1995 has been reported