diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-07-14 20:39:04 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-07-14 20:39:04 -0400 |
commit | 37b8b5e3373151a75e720161ce860cbce074da32 (patch) | |
tree | 08aca165a30646d36b3622ac8d6e4ebfd1c384e2 /test/regress/CAE63F5C-c.test | |
parent | 511b17a21f79bbb19fe151402b07e3d0cc3948ec (diff) | |
download | fork-ledger-37b8b5e3373151a75e720161ce860cbce074da32.tar.gz fork-ledger-37b8b5e3373151a75e720161ce860cbce074da32.tar.bz2 fork-ledger-37b8b5e3373151a75e720161ce860cbce074da32.zip |
Preserve original cost basis when gain or loss is made
Change the definition of cost: in the past, if you bought 1 AAA for
$10 and then sold it for $12, ledger would take $12 as the cost. With
the patch, the original cost of $10 is preserved ss the cost basis.
In my opinion, this brings ledger in line with accounting expectations.
This change fixes bugs #712 and #713.
Bug #712 is about Equity:Capital Gains and Equity:Capital Loss
entries ledger automatically generates that are in my opinion
incorrect.
Bug #713 is about strange behaviour with -B after a capital gain or
loss is made.
Patch from John Wiegley.
Diffstat (limited to 'test/regress/CAE63F5C-c.test')
0 files changed, 0 insertions, 0 deletions