Balance assignment with subaccounts affects other commodities #2093
Labels
A-BUG
Something wrong, confusing or sub-standard in the software, docs, or user experience.
docs
Documentation-related.
impact3
Affects just a few users.
journal
The journal file format, and its features.
needs:code
To unblock: needs code/code updates
needs:impact-analysis
To unblock: needs analysis of interactions with other features, users, ecosystem
severity2
Minor to moderate usability/doc bug, reasonably easy to avoid or tolerate.
Using the
=*
balance assignment on an account with subaccounts sets all other commodities balance to 0. According to the documentation, other commodities should be unaffected as long as I'm using=*
and not==*
. Compare the following examples:Without subaccounts - correct behaviour
The assignment transaction adds $8 to achieve the balance of $20, but eur is unaffected - as expected:
With subaccounts - unexpected behaviour
Asserting total balance of an account which has subacounts
Now, a
-10eur
posting appears and clears the eur balance ofassets
:Expected behaviour
I'd expect a single posting
assets 8usd
be generated to get the correct usd balance, and eur balance to remain-10eur
.Note that this works correctly when the posting value is given explicitely:
The text was updated successfully, but these errors were encountered: