hledger/hledger-lib/Hledger
Simon Michael 76f8eaf91a imp: journal: ignore redundant costs; --infer-costs more robustly
You can now write both @/@@ costs and corresponding equity conversion postings
in a transaction at any time, not just when using --infer-costs or --infer-equity.
hledger will recognise the redundancy and ignore it.

One thing has become more strict: hledger now requires conversion postings
to occur in adjacent pairs; an odd number of them is not allowed.
(Conversion postings are postings to accounts of type `V`/`Conversion`,
or named `equity:conversion`, `equity:trade`, `equity:trading`,
or subaccounts of these.)

And, --infer-costs now works in transactions with an implicit amount
(inferring costs from equity now happens after transaction balancing,
not before).
2023-01-25 19:00:29 -10:00
..
Data lib: add journalMarkRedundantCosts to help with balancing; slight refactoring 2023-01-25 19:00:29 -10:00
Read imp: journal: ignore redundant costs; --infer-costs more robustly 2023-01-25 19:00:29 -10:00
Reports lib: Hledger.Data.Dates: intervalStartBefore -> intervalBoundaryBefore 2023-01-11 20:51:24 -10:00
Utils imp: cli: use $PAGER when help output is taller than terminal 2023-01-25 17:20:27 -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 dev: lib, cli, bin: enable/fix name shadowing warnings 2022-08-23 12:16:15 +01:00
Read.hs imp: debug logging improvements; hledger-ui logs to hledger-ui.log only 2022-11-03 16:07:54 -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 dev: lib: Hledger.Utils cleanup 2022-11-04 22:19:24 -10:00