This test case has only income in 2010, a stock purchase in 2010, and another stock purchase in 2011. Then an income statement for 2011 has the incorrect total.
The key to triggering this seems to be a stock purchases or sales in a prior period, and some additional stock was purchased (or sold) in the current period. Then one can get a variety of answers (all wrong) depending on which "Commodity Price Source" one chooses. I don't think that unrealized gains should show up on an income statement (unless I enter an actual transaction posting them). This is all in one currency (USD); so multi-currency issues aren't involved.
test-inc.gnucash
Description: application/gnucash
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel