Bug 252574 - Editing Reinvest-Dividend entry causes
Summary: Editing Reinvest-Dividend entry causes
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 19:42 UTC by JantarMantar
Modified: 2011-12-10 11:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JantarMantar 2010-09-27 19:42:26 UTC
Version:           4.5 (using KDE 4.5.1) 
OS:                Linux

When editing an existing "Reinvest Dividend" entry, the total amount is copied to the Interest bucket thus doubling the transaction amount.

Reproducible: Always

Steps to Reproduce:
For an investment, 
1. Add an "Reinvest Dividend" type transaction. 
2. Just as an example, add 10 as number of shares, 1 as price/share. 
3. Assign a tax category.
4. Press enter to create the entry.
5. Click Edit to begin modification.
6. Change number of shares to 11.
7. Total amount changes from 10 to 21.


Actual Results:  
The transaction gets incorrect total amount of 21.

Expected Results:  
The transaction should be updated to total amount of 11.