Summary: | Show balance button on Ledger view is negative | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | jesse <jvapr27> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | mrp, ostroffjh |
Priority: | NOR | ||
Version: | 5.1.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/kmymoney/-/commit/62656812e66c750e018f22a5c6fcbfa54021df18 | Version Fixed In: | 5.2 |
Sentry Crash Report: |
Description
jesse
2024-05-11 02:34:17 UTC
As far as I can tell, this is all by design. I also think it has been discussed in the past, but I can't find any references at the moment. First, it is not reasonable to use absolute values for these charts, since any account can be above or below zero. An asset account can be over-drawn, and a liability account can be over-paid. What would the chart look like for an over-paid liability of over-drawn asset? I think what you could be asking for is that liability accounts show the amount owed as positive instead of negative, but I think you will find as many people who want it the way it is. You can think of your net worth as your assets less liabilities (thinking of both as positive amounts, as you request) or you can think of net worth as the sum of positive assets plus negative liabilities. I can't make any definitive statement, but I don't think this change is likely to happen. However, I think it could be reasonable to change this into a wishlist to add a toggle to the configuration that asks the balance charts of liability accounts to be shown "upside down." (This could conceivably be done with or without actually flipping the sign of the values.) In any case, I'll look through the handbook and see if I can improve the discussion to make this issue more obvious. We can also think about adding a tool or note to balance charts for liability accounts pointing out that the liability, or amount you owe, is shown as a negative number. (In reply to Jack from comment #1) > As far as I can tell, this is all by design. I also think it has been > discussed in the past, but I can't find any references at the moment. > First, it is not reasonable to use absolute values for these charts, since > any account can be above or below zero. An asset account can be over-drawn, > and a liability account can be over-paid. What would the chart look like > for an over-paid liability of over-drawn asset? > > I think what you could be asking for is that liability accounts show the > amount owed as positive instead of negative, but I think you will find as > many people who want it the way it is. You can think of your net worth as > your assets less liabilities (thinking of both as positive amounts, as you > request) or you can think of net worth as the sum of positive assets plus > negative liabilities. I can't make any definitive statement, but I don't > think this change is likely to happen. However, I think it could be > reasonable to change this into a wishlist to add a toggle to the > configuration that asks the balance charts of liability accounts to be shown > "upside down." (This could conceivably be done with or without actually > flipping the sign of the values.) > > In any case, I'll look through the handbook and see if I can improve the > discussion to make this issue more obvious. We can also think about adding > a tool or note to balance charts for liability accounts pointing out that > the liability, or amount you owe, is shown as a negative number. Thanks Jack. Yes, you are correct about absolute values not being valid here. I figured there may be people, and as you said, maybe equal number of people that like it the way it is. If that is the case, no worries. I agree with you on the two ways to look at same situation. I also agree that updating the handbook or adding a tool tip would be nice. I know that in the normal reports, there is a checkbox to ask whether we want to see the expenses charted as negative numbers. Perhaps something similar to that could be added. Personally, I like all numbers to be charted as positive values. That is just my preference. I can live with the current set up though. I know the new ledger is a huge focus right now and this was more meant as a back burner item for when there is more time to reflect. You are correct, maybe it is more of a wish list item. I would be cool with that. Thanks again! Not sure if this is useful to compare, but Gnucash has three settings for which accounts to reverse the balance on: Income & Expense, Credit accounts, None. https://gnucash.org/docs/v5/C/gnucash-manual/set-prefs.html#prefs-accounts I find I can get used to any of methods. (I suppose the traditional way would be to use all positive numbers and mark them credit or debit, but that's not very beginner friendly) KMyMoney normally works with the "Credit account" option (displays a positive balance for account types that would normally carry a credit balance (income, credit, liability, equity)). It just does not do it for the graph representation of the balance chart, though. (In reply to Thomas Baumgart from comment #4) > KMyMoney normally works with the "Credit account" option (displays a > positive balance for account types that would normally carry a credit > balance (income, credit, liability, equity)). It just does not do it for the > graph representation of the balance chart, though. Would it be possible for the wish list item to be request the Balance chart to also follow the same? Converting to wishlist per Comment #5. Git commit 62656812e66c750e018f22a5c6fcbfa54021df18 by Thomas Baumgart. Committed on 01/07/2024 at 19:35. Pushed by tbaumgart into branch 'master'. Show liabilities/equities as positive numbers A liability is usually a negative amount in terms of networth. Showing the liabilities with a negative sign is confusing for users, though. This change takes care of this and displays liabilites that are still due as positive numbers and overpaid liablities as negative on the homepage's asset and liability section, the account balance chart and the ledger balance. FIXED-IN: 5.2 M +20 -0 kmymoney/mymoney/mymoneyaccount.cpp M +6 -2 kmymoney/mymoney/mymoneyaccount.h M +37 -0 kmymoney/mymoney/tests/mymoneyaccount-test.cpp M +2 -0 kmymoney/mymoney/tests/mymoneyaccount-test.h M +24 -8 kmymoney/plugins/views/reports/core/kreportchartview.cpp M +4 -1 kmymoney/plugins/views/reports/kbalancechartdlg.cpp M +9 -5 kmymoney/views/khomeview_p.h M +2 -0 kmymoney/views/ledgerviewpage.cpp M +5 -3 kmymoney/views/ledgerviewpage_p.h https://invent.kde.org/office/kmymoney/-/commit/62656812e66c750e018f22a5c6fcbfa54021df18 |