Bug 508374 - Investment performance report and security with a maturity date
Summary: Investment performance report and security with a maturity date
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: reports (other bugs)
Version First Reported In: 5.1.2
Platform: macOS (DMG) Other
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-17 08:35 UTC by labm.4v70
Modified: 2025-08-17 08:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Investment Performance Report (4.28 KB, application/gzip)
2025-08-17 08:35 UTC, labm.4v70
Details

Note You need to log in before you can comment on or make changes to this bug.
Description labm.4v70 2025-08-17 08:35:55 UTC
Created attachment 184173 [details]
Investment Performance Report

SUMMARY
A bond (security with a maturity date) disappears from the report as soon as it is closed.

Example ( see attachment) :
1- 01-07-2024 buy equity Eq1 : 10@50€
2- 01-09-2024 buy bond Bd1 (maturity 15-02-2025) : 100@1€
3- Investment Performance by Account - Year to date : 01-01-2025 to 11/08/2025 : ok (the 2 securities appear)
4- Sale of Bd1 at maturity
5- Investment Performance by Account - Year to date : 01-01-2025 to 11/08/2025 : ok (the 2 securities appear)
6- Removal of Bd1 from the Investment view via the option « Close Account »

OBSERVED RESULT

7- Investment Performance by Account - Year to date : 01-01-2025 to 11/08/2025 : ko … Bd1 no longer appears in the report
How to reconcile the cleaning of the investment view and a correct performance report?

With the "Show all accounts" option the bond reappears in the investment view but is still absent in the report.

EXPECTED RESULT
Event if an account (= bond) is closed it must appear in the performance report.

SOFTWARE/OS VERSIONS
macOS: Sequoia 15.6 (24G84)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: Version 5.90.0
Qt Version: Version 5.15.2

ADDITIONAL INFORMATION