[kmymoney] [Bug 446491] New: Reports: Cashflow report is incorrect

jesse bugzilla_noreply at kde.org
Sat Dec 4 21:12:36 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=446491

            Bug ID: 446491
           Summary: Reports: Cashflow report is incorrect
           Product: kmymoney
           Version: 5.1.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: reports
          Assignee: kmymoney-devel at kde.org
          Reporter: jvapr27 at yahoo.com
  Target Milestone: ---

SUMMARY

The Cash flow report is showing Totals that are incorrect. Or at least appear
to be incorrect. 

The report shows the list of Asset accounts, and the transactions in/out of
these accounts. 

Further down the report, it shows the Expenses, including those that were
already accounted for in the first section under the Asset accounts.

The Income section also list any income transactions that occurred into the
asset accounts. Again these were already accounted for in the Asset accounts
section as well. 

Thus we are showing the assets, adding income and subtracting expense, then
once again subtracting the expense and adding the income. 

There is a total for each section, Asset, Expense, Income. 

The main problem is that the Grant Total is doing Assets Total - Expense Total
+ Income Total. This is how we are double counting. 


STEPS TO REPRODUCE
1. Open Kmymoney file - with transactions
2. Go to Reports
3. Open Cash flow report


OBSERVED RESULT
The totals are not correct. 

Shows asset accounts:
- Checking account 
  - transaction: Salary +1500
  - transaction: Rent -1200
- Savings account  
Total Assets: 300


Income: 
 - Category/account : amount 
 - ex: Salary: Salary: +1500.00
Total Income: 1500

Expense:  
 - Category/account: amount 
 - ex: Rent : -1200.00
Total Expense: 1200 

Total: (Total Assets + Total Income - Total Expenses) = 300 + 1500 - 1200= 600
<< incorrect 

EXPECTED RESULT

It would be nice if the report showed as follows instead. 

List Accounts included in Cash Flow:
- Checking account 
- Savings account  
Money into the account: Do not show each individual transaction here. 
 - Category/account : amount 
 - ex: Salary : 1500.00   
Money out of the account:  
 - Category/account: amount 
 - ex: Rent : 1200.00 

Total Cash Flow for Accounts: 300.00 << correct cash flow


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux - Gnome 34
KDE Frameworks 5.51.0
Qt 5.11.3 (built against 5.11.3)
The xcb windowing system

ADDITIONAL INFORMATION
App Image: Version 5.1.2-c2865cb

Potential duplicate of bug #391384

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list