r13887 - gnucash/trunk - Patch from Mike Alexander's to handle multiple lot dispositions on the

David Hampton hampton at cvs.gnucash.org
Sat Apr 29 23:52:07 EDT 2006


Author: hampton
Date: 2006-04-29 23:52:05 -0400 (Sat, 29 Apr 2006)
New Revision: 13887
Trac: http://svn.gnucash.org/trac/changeset/13887

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/engine/cap-gains.c
   gnucash/trunk/src/engine/cap-gains.h
   gnucash/trunk/src/engine/gnc-lot.c
Log:
Patch from Mike Alexander's to handle multiple lot dispositions on the
same day.  Needed since the transaction sorting code may sort gains
splits after other splits on the same day. Add a new function to find
the source split associated with a capital gains split.  Also use
lot_amount and lot_value consistently instead of opening_amount and
opening_value.




More information about the gnucash-patches mailing list