hledger/hledger-lib/Hledger
Simon Michael d19d866446 fix: use costs when balancing a txn with a balance assignment (fix #2039)
Transaction balancing is supposed to balance costs, but these were
being stripped when calculating balance assignments, causing us to
wrongly reject this transaction when the last amount is left implicit,
unlike Ledger:

2023-01-01
    Assets                AAA -1.1 @@ CCC 2
    Assets                BBB -1.2 @@ CCC 3
    Expenses:Fees         CCC  0.2
    Assets                                  = CCC 4.9

I'm not sure why costs were being stripped. I seem to have added it
in 2019 (to Journal.balanceNoAssignmentTransactionB in 3b47b58ae),
but this bug seems to be present even before that.
2023-05-27 08:34:11 -10:00
..
Data fix: use costs when balancing a txn with a balance assignment (fix #2039) 2023-05-27 08:34:11 -10:00
Read dev: comment 2023-05-20 17:29:06 -10:00
Reports imp: cli: make some reporting flags toggle on/off when repeated 2023-05-09 11:10:12 -10:00
Utils lib: Hledger.Utils.IO: added expandGlob, sortByModTime 2023-05-19 09:09:21 -10:00
Data.hs ref: move journal checking/pretty errors down further, to Hledger.Data 2022-05-21 18:29:13 -10:00
Query.hs imp: "type:" queries now see through aliases/pivots, like acct: (fix #2018) 2023-04-06 11:12:35 -10:00
Read.hs feat: csv: rules files can be read directly; data file can be specified 2023-05-19 09:09:21 -10:00
Reports.hs cln: tests: Remove test and tests, which are just aliases for testCase 2021-08-30 16:32:19 -10:00
Utils.hs lib: Hledger.Utils: added multicol 2023-05-18 07:19:36 -10:00