Summary: | Income&Expenditure widget don't match with Income&Expense report | ||
---|---|---|---|
Product: | [Applications] skrooge | Reporter: | Jesus M Diaz <jesusm.diazperez> |
Component: | general | Assignee: | Stephane MANKOWSKI <stephane> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jesusm.diazperez, stephane |
Priority: | NOR | ||
Version: | Trunk from git | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/skrooge/commit/daba60171e2a7391d2f5a27364b1bd62d64849bb | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Sample Skrooge file
Sample Skrooge file, second attempt |
Hi, I'm not able to open your sample file. It seems to be protected by a password. That's weird. It is not protected and I have downloaded it and it opened fine, so it's not corrupted apparently. I uploaded it again, just in case. Created attachment 137642 [details]
Sample Skrooge file, second attempt
Easier way to reproduce: from the dashboard widget, click on settings and then 'open report'. The values don't match (incomes, the 'loan' transfer) Hello, I'm trying to analyze this ticket after a long break but I still can't open the provided file (password requested). That's what you said for the first file, but I uploaded a second one. Have you tried with this? Let me know if you were able to open it or not. If it still fails, I can try any other way to send you the file. Yes, same issue on the second one. I sent it to the email address you have here, let's see if you can open it that way, because it should not be password protected, and I can open it without any password. Git commit daba60171e2a7391d2f5a27364b1bd62d64849bb by Stephane MANKOWSKI. Committed on 19/02/2023 at 18:11. Pushed by smankowski into branch 'master'. Income&Expenditure widget don't match with Income&Expense report M +2 -1 CHANGELOG M +13 -14 plugins/skrooge/default/income_vs_expenditure.qml M +10 -3 plugins/skrooge/skrooge_operation/skgoperationboardwidgetqml.cpp M +8 -4 skgbankmodeler/skgreportbank.cpp M +13 -6 skgbasegui/skghtmlboardwidget.cpp https://invent.kde.org/office/skrooge/commit/daba60171e2a7391d2f5a27364b1bd62d64849bb |
Created attachment 137629 [details] Sample Skrooge file SUMMARY Income&Expenditure widget don't match with Income&Expense report. Payment of a loan as a split transaction: transfer from payment account to loan account + interest payment as expense. Dashboard widget tracks the whole transaction as expenditure, showing the two sub-transactions Report finds three transactions: the interest payment, the outcome transfer from the payment account and the income transfer to the loan account. STEPS TO REPRODUCE 1. Create a loan payment transaction merging two operations: transfer from payment account to loan account and interest payment as expense. 2. Add Income&Expenditure widget to dashboard for relevant period 3. Open income&outcome report for relevant period OBSERVED RESULT Income&Expenditure widget don't match with Income&Expense report EXPECTED RESULT Income&Expenditure widget matching with Income&Expense report SOFTWARE/OS VERSIONS Linux/KDE Plasma: Slackware 14.2 x86_64 (post 14.2 -current) (available in About System) KDE Plasma Version: KDE Frameworks Version: KDE Frameworks 5.81.0 Qt Version: Qt 5.15.2 (built against 5.15.2) ADDITIONAL INFORMATION