r19925 - gnucash/trunk/src/register/ledger-core - If you have a parent account with a subaccount whose commodity allows more
Mike Alexander
mta at code.gnucash.org
Sat Dec 11 23:26:57 EST 2010
Author: mta
Date: 2010-12-11 23:26:56 -0500 (Sat, 11 Dec 2010)
New Revision: 19925
Trac: http://svn.gnucash.org/trac/changeset/19925
Modified:
gnucash/trunk/src/register/ledger-core/split-register-util.c
Log:
If you have a parent account with a subaccount whose commodity allows more
decimal places in the amount field than the parent account does things
don't work right if you open a register for the parent account and all
subaccounts. This situation can occur if you have a broker account with
subaccounts for the securities held in that broker account. If you open a
register for the top account and all subaccounts, it is impossible to enter
a transaction to buy or sell a fractional share of the security where there
are more digits after the decimal point than the parent account allows.
This change fixes this if the subaccount allows no more than six digits
after the decimal point.
More information about the gnucash-patches
mailing list