[Kmymoney-devel] [Bug 276322] Unwanted fields show in ledger for investment.

allan agander93 at gmail.com
Sat Sep 17 09:52:44 UTC 2011


allan <agander93 at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #15 from allan <agander93 gmail com>  2011-09-17 09:52:44 ---
SVN commit 1254077 by allananderson:


If an existing cash dividend transaction is selected, the form shows widgets
for Date, Amount, Total and Status, which is what is expected.
If that transaction is then opened for editing, additional widgets show for
Security, Quantity and Price, which aren't expected for a cash dividend.
If, while the transaction is open for editing, 'Dividend' is reselected, the
additional fields disappear.  Similar behaviour occurs for Buy transactions.

Also, in numerous places, the likes of - 
QWidget* w = haveWidget(*it_s);
    if (w) 
were found to produce unreliable results.

Also, When a Dividend transaction is opened for editing, the fee category field
active, but there is no label.  If a fee category is entered, the fee amount
field becomes active - again no label, and if an amount is entered, the total
reflects this change.  However, when the transaction edit is accepted, the fee
amount has been lost.

Also, fees have been removed from Dividends, and interest income has been
removed from 
Buy and Sell, as these seem most unlikely combinations.

I've noticed various other anomalies in the various investment types, to do
with unnecessary fields, missing labels and one where it's possible to enter a
value for a fee without a category, and which doesn't get retained.

 M  +116 -54   dialogs/investactivities.cpp  
 M  +47 -26    dialogs/investtransactioneditor.cpp  
 M  +2 -2      widgets/transaction.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1254077

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the KMyMoney-devel mailing list