Bug 437168 - In Payees view Balance shown is always zero
Summary: In Payees view Balance shown is always zero
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.1.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-15 17:50 UTC by Graham Davies
Modified: 2021-05-15 20:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of bottom right of Payees window showing Balance of zero (43.36 KB, image/png)
2021-05-15 17:50 UTC, Graham Davies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Davies 2021-05-15 17:50:35 UTC
Created attachment 138468 [details]
Screenshot of bottom right of Payees window showing Balance of zero

SUMMARY
In Payees view Balance shown is always zero

STEPS TO REPRODUCE
1. Click on 'Payees'
2. In Transactions tab, select any Payee to see transactions for that Payee
3. View Balance at bottom right

OBSERVED RESULT
Balance for that Payee is always zero.
All transactions for each Payee are shown, but all are double entries i.e. Payment on one line, followed by Deposit for same amount on next line. These cancel each other out resulting in net Balance of zero.

EXPECTED RESULT
Balance should be net total payments/receipts for that Payee

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Every transaction has double entry e.g. Groceries category payment of £5.00 on one line, then a second line showing a deposit of £5.00 in Cash account. These two entries balance each other out resulting in Balance of zero. Payees section worked correctly until a few months ago, above example would show Balance of -£5.00, to show £5.00 spent on Groceries category.
Comment 1 Jack 2021-05-15 20:38:19 UTC
This is not a bug, it's essentially by design, although a PAYEE is not actually an ACCOUNT.  However, thinking of it as an account, each transaction has a split showing the funds coming from whichever ACCOUNT they came from, and one going to the assigned CATEGORY.  That leave a net 0 amount for each transaction, thus the final 0 balance.  

It might be reasonable to switch this bug to a WISHLIST, requesting that the PAYEE view show as the balance, the total amount paid to or from that PAYEE.
Comment 2 Graham Davies 2021-05-15 20:41:46 UTC
Thanks for quick response and explanation. Will switch this bug to wishlist