Bug 424335 - Show account name for transfers instead of memo in case no payee is provided
Summary: Show account name for transfers instead of memo in case no payee is provided
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.8
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-17 14:24 UTC by jswami
Modified: 2020-07-18 16:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
1--checking ledger, before transfer completed (66.71 KB, image/png)
2020-07-17 20:19 UTC, jswami
Details
2--checking ledger, after transfer entered (73.00 KB, image/png)
2020-07-17 20:20 UTC, jswami
Details
3--Amex ledger, after transfer entered (71.04 KB, image/png)
2020-07-17 20:21 UTC, jswami
Details
4--ledger settings (53.72 KB, image/png)
2020-07-17 20:22 UTC, jswami
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jswami 2020-07-17 14:24:05 UTC
SUMMARY
Suppose we are transferring funds from one account to another. Suppose that when we enter the transfer in the ledger we fill in the "Transfer to" line but leave the "Pay to" line blank. And suppose we enter a Memo. When the transaction is recorded, the "Details" line (in both accounts) will show the Memo, not the name of the appropriate account.


STEPS TO REPRODUCE
1. In the ledger, begin ("New") a Transfer.
2. Fill in the "Transfer to" line with the name of another of our accounts. (For example, I want to transfer funds from my checking account to my Amex card. So I go to the ledger for the checking a/c and fill in my Amex a/c in the "Transfer to" line.)
3. Leave "Pay to" blank. 
4. Add a Memo. (For example, a confirmation number for the transfer.)
5. Fill in the date and amount fields and complete the transaction. 

OBSERVED RESULT
The transaction is recorded in the ledger. In both accounts -- the one I'm transferring from and the one I'm transferring to -- the "Details" field shows only the content of the Memo.

EXPECTED RESULT
In the "Details" of the account I'm transferring from, I should see the name of the account I'm transferring to, and vice versa. 


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 
Ubuntu 20.04, Gnome 3.36.2

ADDITIONAL INFORMATION
When "Memo" is left blank, all works fine.
Comment 1 Jack 2020-07-17 14:40:02 UTC
I think the program is behaving exactly as it is supposed to.  In the ledger, the account transferred to/from is shown by itself, in the place where the category would be shown if the transaction were not a transfer.  The memo field should not show the other account, just the memo (if there is one.)  
Where, exactly are you seeing this behavior?  Specifically, what options are you using for the Ledger View?  If you are not showing the full details, then an empty memo is not shown, but the other account should always be shown.  Can you provide a screen-shot of what you see?
Comment 2 jswami 2020-07-17 20:19:28 UTC
Created attachment 130208 [details]
1--checking ledger, before transfer completed
Comment 3 jswami 2020-07-17 20:20:24 UTC
Created attachment 130209 [details]
2--checking ledger, after transfer entered
Comment 4 jswami 2020-07-17 20:21:34 UTC
Created attachment 130210 [details]
3--Amex ledger, after transfer entered
Comment 5 jswami 2020-07-17 20:22:10 UTC
Created attachment 130211 [details]
4--ledger settings
Comment 6 jswami 2020-07-17 20:30:07 UTC
Thank you, Jack, for your swift reply. I see now that my description was too fuzzy. 

The problem is not with the data-entry form. As you say, everything there works exactly as it should. The problem is what shows up *above* that form, in the "Details" column in the list of entered transactions.

To illustrate, I attach 3 screenshots. 

The first shows the ledger for my checking account, with a transfer (for $47.50, with no memo) entered on 7/17 and another transfer (for $108.08) set up but not yet entered.

The second shot shows the same ledger, now with the second transfer entered. Notice that in the "Details" column the second transfer shows the text of the Memo, not the name of the account we're transferring funds to.

The third shot shows the corresponding entries in my Amex account, again with the "Details" column showing the text of the Memo, this time instead of the name of the account I'm transferring from.

I've also included a shot of my settings. 

I hope this clarifies the issue.
Comment 7 Jack 2020-07-17 21:15:58 UTC
Very odd, indeed, but I think you did find something.  The problem is related to the "Show all register entries in full detail" box on the configuration screen. If you check that, then you will see all the available data for each transaction.  That should be a good workaround for now.

Without showing all details, the payee is shown in the ledger.  If there is no payee, then the memo is displayed.  If no payee or memo, the category is shown.  All that probably makes sense for normal transactions, but perhaps not for transfers, in which case perhaps the priority should be the other account, the payee, and then the memo.
Comment 8 jswami 2020-07-18 13:53:46 UTC
Yes, that makes sense. And the workaround works. Thank you very much.
Comment 9 Thomas Baumgart 2020-07-18 16:09:24 UTC
Turned it into a wishlist item and reworded the subject a bit.