ANNOUNCE: Auto Cap Gains, alpha 1

Linas Vepstas linas at linas.org
Thu Aug 28 11:40:58 CDT 2003


On Thu, Aug 28, 2003 at 11:21:32AM -0400, Derek Atkins was heard to remark:
> Linas,
> 
> Great news!!!
> 
> Question: have you tested how your LOT support changes interact
> with the Invoice/Payment transactions from the business features?

No. However, I don't think I made any functional changes to lot 
support.  I did fix a few bugs which may have had side effects. 

Oops, I take that back. I did make one critical functional change.
Gains are now computed on every transaction in a lot, instead of 
a single lump sum when the lot is closed.  I have absolutely no
idea if this impacts you; if it does, I can provide a mechanism
to get the old behaviour if desired.

Unit test cases do need to be written for lots, periods and cap gains.

> Also, have you tested how the end-of-period feature interacts?

Yes.  The bug-fixes in lots, and the cap gain support, is required
in order to have end-of-period work correctly.  So I've been staring
at that quite a bit.  But there may be some corner cases I haven't
really thought of. Although I thought I had ...  Again, testing/test
cases are needed.

--linas

p.s. I think most of this can be 'easily' back-ported to 1.8.x  
Although I would be concerned about making 1.8.x accidentaly
unstable/buggy.

p.p.s. the new support should make it a lot easier to add things
like depreciation, and to distinguish the diferent tax rates for
long-term vs. short term cap gains.

-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas at linas.org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933


More information about the gnucash-devel mailing list