diff options
author | Tavis Ormandy <taviso@gmail.com> | 2023-04-18 20:23:40 -0700 |
---|---|---|
committer | Tavis Ormandy <taviso@gmail.com> | 2023-04-18 20:23:40 -0700 |
commit | f58b19d94071daf912ab83479fb411aca8224833 (patch) | |
tree | c98ed374254b6cf62ef8f162f37cac6bef25244d /test | |
parent | bd510c2e5f6269b4112f032d2a9e1d7665e4fd74 (diff) | |
download | fork-ledger-f58b19d94071daf912ab83479fb411aca8224833.tar.gz fork-ledger-f58b19d94071daf912ab83479fb411aca8224833.tar.bz2 fork-ledger-f58b19d94071daf912ab83479fb411aca8224833.zip |
fix #2220, bucket transactions ignored with reg --related
This adds a new item flag, `ITEM_INFERRED`, that differentiates
generated items from bucket items. This makes them show up as
related items in reports.
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/issue2220.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/regress/issue2220.test b/test/regress/issue2220.test new file mode 100644 index 00000000..095d0f63 --- /dev/null +++ b/test/regress/issue2220.test @@ -0,0 +1,8 @@ +bucket Liabilities:CreditCard + +2023/01/01 * Payment + Assets:Checking $-34.86 + +test reg --monthly --related ^Assets:Checking +23-Jan-01 - 23-Jan-31 Liabilities:CreditCard $34.86 $34.86 +end test |