hledger/hledger-lib/Hledger/Data
Simon Michael c1c28aea3f imp:journal: match equity conversion postings more tolerantly (fix #2041)
Equity conversion postings and cost amounts were being matched up too
exactly, causing valid entries with redundant conversion postings and
costs to be rejected. Now the amounts are compared with the precision
(number of decimal places) used in the conversion posting's amount.
Eg, here the first posting's 209.60495 GEL cost is recognised as a
match for the third posting's -209.60 GEL, using the latter's two
digit precision:

    2023-01-01
        Assets               -84.01 USD @ 2.495 GEL  ; 209.60495 GEL
        Equity:Conversion     84.01 USD
        Equity:Conversion   -209.60 GEL
        Assets               209.60 GEL
2023-07-15 16:21:00 -10:00
..
JournalChecks dev: lib, cli, bin: enable/fix name shadowing warnings 2022-08-23 12:16:15 +01:00
Account.hs dev: lib, cli, bin: enable/fix name shadowing warnings 2022-08-23 12:16:15 +01:00
AccountName.hs journal: Fully unbracket AccountNames in account directives 2023-01-23 12:43:13 -10:00
Amount.hs ;dev: lib: also build with GHC 9.6.1; add base-compat 2023-03-14 10:42:48 -10:00
Balancing.hs fix: use costs when balancing a txn with a balance assignment (fix #2039) 2023-05-27 08:34:11 -10:00
Dates.hs fix: "every 29th/30th/31st day of month" dates with a start date (fix #2032) 2023-05-03 19:18:35 -10:00
Errors.hs ;dev: improve comment 2023-04-27 09:17:29 -10:00
Journal.hs ;cln: journalAddInferredEquityPostings -> journalInferEquityFromCosts 2023-07-04 13:21:55 -10:00
JournalChecks.hs imp:check:recentassertions: improve the error message's suggestion 2023-07-13 09:01:57 -10:00
Json.hs pkg: add support for aeson 2.2, add upper bound 2023-07-01 08:14:23 -10:00
Ledger.hs cln: tests: Remove test and tests, which are just aliases for testCase 2021-08-30 16:32:19 -10:00
Period.hs imp: partial/inferred dates are flexible, full dates are not (#1982) 2023-02-17 07:24:19 -10:00
PeriodicTransaction.hs imp: Generated/modified txns/postings are now tagged only with --verbose-tags 2023-04-29 18:25:11 -10:00
Posting.hs imp: Generated/modified txns/postings are now tagged only with --verbose-tags 2023-04-29 18:25:11 -10:00
RawOptions.hs lib: add toggleopt, for flags that toggle when repeated 2023-05-09 10:08:52 -10:00
StringFormat.hs dev: lib, cli, bin: enable/fix name shadowing warnings 2022-08-23 12:16:15 +01:00
Timeclock.hs imp: timeclock: support comments and tags (fix #1220) 2023-05-03 00:05:11 -10:00
Transaction.hs imp:journal: match equity conversion postings more tolerantly (fix #2041) 2023-07-15 16:21:00 -10:00
TransactionModifier.hs imp: revert 2b5194238 imp: generate auto postings on forecast transactions by default (#2027) 2023-04-30 08:08:26 -10:00
Types.hs imp: timeclock: support comments and tags (fix #1220) 2023-05-03 00:05:11 -10:00
Valuation.hs dev: lib: support debug logging to file in a few more places for hledger-ui 2022-11-06 09:01:12 -10:00