Bug 339474 - No SPLIT available in Interest field in Dividend Transactions
Summary: No SPLIT available in Interest field in Dividend Transactions
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-28 13:00 UTC by Mike
Modified: 2014-09-30 05:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Investment editor screenshots (73.85 KB, application/x-zip-compressed)
2014-09-29 11:13 UTC, Cristian Oneț
Details
Entering Dividend TODAY (25.44 KB, image/png)
2014-09-29 11:48 UTC, Mike
Details
Previously entered dividend opened in EDIT (26.92 KB, image/png)
2014-09-29 11:51 UTC, Mike
Details
Sell transaction TODAY (25.04 KB, image/png)
2014-09-29 12:08 UTC, Mike
Details
Previously entered SELL transaction - Cannot be edited (31.05 KB, image/png)
2014-09-29 12:13 UTC, Mike
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2014-09-28 13:00:23 UTC
My problem relates to New MANUAL entries using the Transaction Input Form when I have my Investment account open in the 'ledger' view.

I will now refer to the KDE Help Center Version 4.13.3 - Investment Transactions page.

At the top of the page is a graphic which shows 'Buy Shares' in the Activity field. It also shows the SPLIT icon for both the 'Fees' and 'Interest' fields

At the bottom of the page is the following:

>>>
Interest
 This is how you enter an interest or dividend payment from an investment. As with fees, if you enter a category, then a field will be shown to the right where you can enter the amount. You can also use the split transaction feature, if required.
>>>

When I open my Investment Account in ledger view I have the following anomalies/bugs in the Transaction Input Form when the Activity field selection is as follows:

1. Buy shares        NO Interest field
2. Sell shares        NO Interest field
3. Dividend        Interest field without SPLIT Icon
4. Reinvest dividend    NO Account field (as expected) - Interest field without SPLIT Icon
5. Yield        Interest field without SPLIT Icon
6. Add,Remove & Split    Only Activity, Security and Memo fields (as expected)
7. Interest income    Interest field without SPLIT Icon

Therein lies the problem - Interest field cannot accommodate splits.


Reproducible: Always

Steps to Reproduce:
1. Open Investment in ledger view and use Transaction Input Form
2. Select Dividend in Activity field
3. Interest field has no SPLIT availability (No SPLIT Icon)

Actual Results:  
ALSO as stated in details above the following may also be anomalies/bugs in the Transaction Input Form when the Activity field selection is as follows:
a. Buy shares        NO Interest field - I gather it is not needed
b. Sell shares        NO Interest field
c. Dividend            Interest field without SPLIT Icon
d. Reinvest dividend    NO Account field (as expected) - Interest field without SPLIT Icon
e. Yield                  Interest field without SPLIT Icon
f. Add,Remove & Split    Only Activity, Security and Memo fields (as expected)
g. Interest income          Interest field without SPLIT Icon 

Expected Results:  
a. Buy shares   NO Interest field - I gather it is not needed
b. Sell shares   Interest field should be present and Split icon show when category is selected.
c. Dividend      Interest field should be present and Split icon show when category is selected.
d. Reinvest      Interest field no SPLIT Icon (Unchanged)
e. Yield            Interest field should be present and Split icon show when category is selected.
f. Interest income  Interest field should be present and Split icon show when category is selected.

My previous version of KMyMoney (can't remember version but fairly recent) produced Expected Results.
This is a Major Feature as it is impossible to enter the parts of a fully or partially franked dividend. These are:
Dividend Income (Unfranked)
Dividend Income (Franked)
Dividend Income (Imputation Credit)
Comment 1 Cristian Oneț 2014-09-29 11:13:52 UTC
Created attachment 88883 [details]
Investment editor screenshots

These are screenshots of the investment transaction editor using various investment actions.
Comment 2 Cristian Oneț 2014-09-29 11:15:02 UTC
Please take a look at the attached screenshots I fail to see the describe actual results.
Comment 3 Mike 2014-09-29 11:48:40 UTC
Created attachment 88884 [details]
Entering Dividend TODAY

Trying to enter dividend TODAY.
Comment 4 Mike 2014-09-29 11:51:59 UTC
Created attachment 88885 [details]
Previously entered dividend opened in EDIT

This dividend was entered six months ago when the SPLIT function was present
Comment 5 Cristian Oneț 2014-09-29 12:03:09 UTC
Your version of KMyMoney is 4.6.4? I've created the attached screenshots with the version from git master which is going to be released this week as 4.7.0.
Comment 6 Mike 2014-09-29 12:08:07 UTC
Created attachment 88886 [details]
Sell transaction TODAY

Sell transaction TODAY - NO Interest field at all and not really needed
Comment 7 Mike 2014-09-29 12:13:38 UTC
Created attachment 88887 [details]
Previously entered SELL transaction - Cannot be edited

This previous sell transaction has been selected which I have not tried to do before reporting this bug. I now see it cannot even be edited.
Sorry for the 4 separate PNGs.
Comment 8 Mike 2014-09-29 12:23:42 UTC
Cristian, I have just seen your Comment 5.

Yes, I am using KMM 4.6.4

Also in an earlier message from Allan when he told me to raise the bug report he said:
"Well, the good news is that here, using the development version, some of the missing items are not missing now. "

Looks like KMM 4.7.0 will cure my problem. Will d/l and install when available. Thanks.
Comment 9 Cristian Oneț 2014-09-29 12:29:58 UTC
(In reply to Mike from comment #8)
> Cristian, I have just seen your Comment 5.
> 
> Yes, I am using KMM 4.6.4

OK.

> 
> Also in an earlier message from Allan when he told me to raise the bug
> report he said:
> "Well, the good news is that here, using the development version, some of
> the missing items are not missing now. "
> 

I know, I've asked Allan why did he thought that an issue is needed, let's see what he'll say.

> Looks like KMM 4.7.0 will cure my problem. Will d/l and install when
> available. Thanks.

Then is this report still valid?
Comment 10 allan 2014-09-29 12:43:04 UTC
(Delayed by a collision!)
Here is my response to Mike (on the list) -
"Here is the status now -

> 1. Buy shares   NO Interest field  -- Still no Interest field
> 2. Sell shares  NO Interest field  -- Interest field is present and
                                        Split icon shows when category
                                        is selected
> 3. Dividend     Interest field no SPLIT Icon -- As for Sell
> 4. Reinvest     Interest field no SPLIT Icon  -- Unchanged
> 5. Yield        Interest field without SPLIT Icon -- As for Sell
> 7. Interest income  Interest field no SPLIT Icon -- As for Sell

Would you raise a bug report please to ensure it gets attended to."

The reason I suggested raising a bug report was that I was uncertain about item 4 Reinvest.  (Cristian's screenshot also shows no split button.)  I'm still not yet absolutely certain, but I think that this is correct behaviour.  A quick look at the code suggests that too.
  
I think we need to leave this open as a couple of late developments need investigation.  Timothy has mailed, but it's not got to the Bug (possibly permissions?), and Mike has raised a quey about a prior transaction he cannot now edit.

Mike, on this, would you say what you tried to edit, and what actually happened.  It might be as well to run KMM from a console and see if any message is issued.
Comment 11 Mike 2014-09-29 12:51:12 UTC
(In reply to Cristian Oneț from comment #9)
> (In reply to Mike from comment #8)

> Then is this report still valid?

I guess it is valid for KMM 4.6.4 but I accept that the new version will fix the problem so the answer is 'SOLVED'.

I can always reopen if things don't turn out OK.

Thanks to all for your help....
Comment 12 Cristian Oneț 2014-09-29 12:56:44 UTC
In order to solve the mystery of the transaction previously entered which is no longer editable please hover over the edit action with your mouse and let us know what message is displayed by the tooltip.
Comment 13 Mike 2014-09-29 20:57:56 UTC
(In reply to Cristian Oneț from comment #12)
> In order to solve the mystery of the transaction previously entered which is
> no longer editable please hover over the edit action with your mouse and let
> us know what message is displayed by the tooltip.

Duplicate the current selected transactions

I have just realised that this is occurring because the SELL transaction was the last for the stock and there is a zero balance and they are CLOSED (sub)accounts.

False alarm; sorry.
Comment 14 Cristian Oneț 2014-09-30 05:54:46 UTC
OK, then closing this and hope that in 4.7.0 everything works as expected.