| Summary: | The calculation of interest and amortization of a loan seems not to work any more | ||
|---|---|---|---|
| Product: | [Applications] kmymoney | Reporter: | Thomas Baumgart <tbaumgart> |
| Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git (master) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | All | ||
| Latest Commit: | https://invent.kde.org/office/kmymoney/-/commit/75716af34575880bbbf6d0dd58698a939ad3426b | Version Fixed/Implemented In: | 5.2.2 |
| Sentry Crash Report: | |||
|
Description
Thomas Baumgart
2025-12-15 08:12:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/office/kmymoney/-/merge_requests/316 Git commit 5b5b55c9680523a846257f8849a583bd3bf5c22d by Thomas Baumgart. Committed on 15/12/2025 at 11:18. Pushed by ostroffjh into branch 'master'. Keep the schedule type for loans Using the new edit feature for scheduled loan transactions changed the type of the schedule from loan-payment to bill. This resulted in the automatic calculation of the values for interest and amortization not being performed correctly in other areas of the application and incorrect data being displayed. The change also includes a correction of the data in case a non-loan type schedule contains automatically calculated split values back to type loan for erroneous records. FIXED-IN: 5.2.2 M +28 -2 kmymoney/mymoney/mymoneyfile.cpp M +1 -1 kmymoney/mymoney/mymoneyfile.h M +1 -1 kmymoney/plugins/sql/mymoneydbdef.cpp M +2 -2 kmymoney/plugins/sql/mymoneystoragesql.cpp M +51 -4 kmymoney/plugins/sql/mymoneystoragesql_p.h M +21 -18 kmymoney/views/keditscheduledlg.cpp https://invent.kde.org/office/kmymoney/-/commit/5b5b55c9680523a846257f8849a583bd3bf5c22d Git commit 75716af34575880bbbf6d0dd58698a939ad3426b by Thomas Baumgart. Committed on 16/12/2025 at 10:33. Pushed by tbaumgart into branch '5.2'. Keep the schedule type for loans Using the new edit feature for scheduled loan transactions changed the type of the schedule from loan-payment to bill. This resulted in the automatic calculation of the values for interest and amortization not being performed correctly in other areas of the application and incorrect data being displayed. The change also includes a correction of the data in case a non-loan type schedule contains automatically calculated split values back to type loan for erroneous records. FIXED-IN: 5.2.2 (cherry picked from commit 5b5b55c9680523a846257f8849a583bd3bf5c22d) M +28 -2 kmymoney/mymoney/mymoneyfile.cpp M +1 -1 kmymoney/mymoney/mymoneyfile.h M +1 -1 kmymoney/plugins/sql/mymoneydbdef.cpp M +2 -2 kmymoney/plugins/sql/mymoneystoragesql.cpp M +51 -4 kmymoney/plugins/sql/mymoneystoragesql_p.h M +21 -18 kmymoney/views/keditscheduledlg.cpp https://invent.kde.org/office/kmymoney/-/commit/75716af34575880bbbf6d0dd58698a939ad3426b |