You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This minimal example is balanced if --auto is not passed, but reported as unbalanced with --auto, despite the auto posting rule not applying to any of the postings in the transaction afaict:
% hledger print --auto -f auto_equity_conversion_bug_2110.journal
hledger: Error: /...../auto_equity_conversion_bug_2110.journal:1-5:
1 | 2023-11-01 * conversion posting
| assets:shares 7 TEST @@ 50.00€
| equity:conversion -7 TEST
| equity:conversion 50.00€
| equity:opening -50.00€
This multi-commodity transaction is unbalanced.
The real postings' sum should be 0 but is: -7 TEST, 50.00€
Consider adjusting this entry's amounts, adding missing postings,
or recording conversion price(s) with @, @@ or equity postings.
Tested with 1.30, 1.31 and master, all running on Linux (NixOS unstable).
If I remove the conversion postings it works, even with --infer-equity (and of course it works without the auto posting). The manual mentions that transactions need to be balanced before and after auto postings are applied, but I think that's the case here as the auto posting rule doesn't even match anything?
The text was updated successfully, but these errors were encountered:
moben
added
the
A-BUG
Something wrong, confusing or sub-standard in the software, docs, or user experience.
label
Nov 7, 2023
simonmichael
changed the title
auto postings break equity conversion balance
auto postings break redundant equity/cost detection and transaction balancing
Nov 10, 2023
This minimal example is balanced if
--auto
is not passed, but reported as unbalanced with--auto
, despite the auto posting rule not applying to any of the postings in the transaction afaict:Tested with 1.30, 1.31 and master, all running on Linux (NixOS unstable).
If I remove the conversion postings it works, even with
--infer-equity
(and of course it works without the auto posting). The manual mentions that transactions need to be balanced before and after auto postings are applied, but I think that's the case here as the auto posting rule doesn't even match anything?The text was updated successfully, but these errors were encountered: