PATCH: handle "0" amount (was Re: stock thoughts)

Derek Atkins warlord at MIT.EDU
Wed Jul 30 22:35:38 CDT 2003


Derek Atkins <warlord at MIT.EDU> writes:

> > There are 2 transactions listed as "Sell stock for profit" derived
> > from the same split transaction.  No problem, I get that.  The first
> > one (with the closed split in the screenshot) has a Tot Sell of
> > 3000. Great, I see where that comes from.  But, what does the Tot Sell
> > of 100 for the second part (top line of the opened split in the
> > screenshot) of the split come from?
> 
> Hmm, good question...  I'll look into that.  I suspect this is an
> artifact of the default split-price being "1", but I'll have to look
> into it.

Well, 1.8.4 (without my patch) does this, too...  I believe it's just
a "total number of shares being sold".  Since this is the behavior from
before, I don't think I should change it.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list