Summary: | Inapplicable column headings for investment reports | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | reports | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.1.90 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | All | ||
Latest Commit: | https://invent.kde.org/office/kmymoney/-/commit/29806af2f1628e11b692e2d575026eeb5458fbb9 | Version Fixed In: | 5.2 |
Sentry Crash Report: | |||
Attachments: | test file |
Description
Ralf Habacker
2024-12-27 10:19:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/office/kmymoney/-/merge_requests/247 Git commit 29806af2f1628e11b692e2d575026eeb5458fbb9 by Ralf Habacker. Committed on 29/12/2024 at 13:32. Pushed by habacker into branch 'master'. Use better variable and map key names in implementation of investment reports The variables for the starting and ending balance actually contain market values and there are variables for the starting and ending prices instead of just one price. FIXED-IN:5.2 M +6 -0 kmymoney/plugins/views/reports/core/listtable.cpp M +3 -1 kmymoney/plugins/views/reports/core/listtable.h M +63 -58 kmymoney/plugins/views/reports/core/querytable.cpp M +5 -3 kmymoney/plugins/views/reports/core/tests/querytable-test.cpp https://invent.kde.org/office/kmymoney/-/commit/29806af2f1628e11b692e2d575026eeb5458fbb9 Git commit 5c2d5cd723dc8b6d2e182b12dbff5b5553671d8f by Ralf Habacker. Committed on 29/12/2024 at 13:32. Pushed by habacker into branch 'master'. Add report test file for investments Only a single price is used for the transactions of the security `BHP` in order to be able to reproduce the calculation more easily. M +1 -0 kmymoney/plugins/views/reports/core/tests/data/CMakeLists.txt A +6 -0 kmymoney/plugins/views/reports/core/tests/data/Investment Capital Gains by Account (Customized).xml A +5 -0 kmymoney/plugins/views/reports/core/tests/data/test-investment-report-querytable-Investment-Capital-Gains-by-Account-_Customized_.csv A +5 -0 kmymoney/plugins/views/reports/core/tests/data/test-investment-report-querytable-Investment-Holdings-by-Account-_Customized_.csv A +5 -0 kmymoney/plugins/views/reports/core/tests/data/test-investment-report-querytable-Investment-Performance-by-Account-_Customized---from-period---one-year--start-later_.csv A +5 -0 kmymoney/plugins/views/reports/core/tests/data/test-investment-report-querytable-Investment-Performance-by-Account-_Customized---from-period---one-year_.csv A +5 -0 kmymoney/plugins/views/reports/core/tests/data/test-investment-report-querytable-Investment-Performance-by-Account-_Customized---from-period---three-year_.csv A +148 -0 kmymoney/plugins/views/reports/core/tests/data/test-investment.xml https://invent.kde.org/office/kmymoney/-/commit/5c2d5cd723dc8b6d2e182b12dbff5b5553671d8f |