Bug 513834 - Planned expense Reports: "every n <timeperiod>" does only print once in reports
Summary: Planned expense Reports: "every n <timeperiod>" does only print once in reports
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: reports (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-26 11:53 UTC by Michael Knöfler
Modified: 2025-12-27 13:44 UTC (History)
1 user (show)

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


Attachments
Option <3><month> (155.18 KB, image/png)
2025-12-26 11:53 UTC, Michael Knöfler
Details
Option <every three month> (21.11 KB, image/png)
2025-12-26 11:54 UTC, Michael Knöfler
Details
Option in expense planning (51.46 KB, image/png)
2025-12-26 11:55 UTC, Michael Knöfler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Knöfler 2025-12-26 11:53:37 UTC
Created attachment 187994 [details]
Option <3><month>

Hi, 

when I create a planned expence and it occures every three month, I have the option to say <3><month> or <every 3 month>.
When choosing the second option, the expense is only displayed and calculated once in a yearly report.
When choosing the first option it works and the expense is displayed and calculated every third month correctly.
Comment 1 Michael Knöfler 2025-12-26 11:54:02 UTC
Created attachment 187995 [details]
Option <every three month>
Comment 2 Michael Knöfler 2025-12-26 11:55:55 UTC
Created attachment 187996 [details]
Option in expense  planning
Comment 3 Thomas Baumgart 2025-12-27 13:39:33 UTC
Git commit 59a712ddbf6a50dd86e692e2d92fb8740996e4f5 by Thomas Baumgart.
Committed on 27/12/2025 at 13:39.
Pushed by tbaumgart into branch 'master'.

Fix generation of payment dates in MyMoneySchedule

Not all occurrece periods were implemented. Added testcases and
implementation.
FIXED-IN: 5.2.2

M  +78   -26   kmymoney/mymoney/mymoneyschedule.cpp
M  +136  -0    kmymoney/mymoney/tests/test-mymoneyschedule.cpp
M  +1    -0    kmymoney/mymoney/tests/test-mymoneyschedule.h

https://invent.kde.org/office/kmymoney/-/commit/59a712ddbf6a50dd86e692e2d92fb8740996e4f5
Comment 4 Thomas Baumgart 2025-12-27 13:44:10 UTC
Git commit 9d795dbdaa9f335c25841578c86a044b87d98117 by Thomas Baumgart.
Committed on 27/12/2025 at 13:40.
Pushed by tbaumgart into branch '5.2'.

Fix generation of payment dates in MyMoneySchedule

Not all occurrece periods were implemented. Added testcases and
implementation.
FIXED-IN: 5.2.2
(cherry picked from commit 59a712ddbf6a50dd86e692e2d92fb8740996e4f5)

M  +78   -26   kmymoney/mymoney/mymoneyschedule.cpp
M  +136  -0    kmymoney/mymoney/tests/mymoneyschedule-test.cpp
M  +1    -0    kmymoney/mymoney/tests/mymoneyschedule-test.h

https://invent.kde.org/office/kmymoney/-/commit/9d795dbdaa9f335c25841578c86a044b87d98117