Bug 514076

Summary: Wrong date gets checked when adding a booking
Product: [Applications] kmymoney Reporter: Alexander <alexander.reimelt>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: NEEDSINFO WAITINGFORINFO    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Wrong date check

Description Alexander 2026-01-02 14:12:32 UTC
Created attachment 188155 [details]
Wrong date check

SUMMARY
The menu to add a new booking uses the entry date for validating order of dates.
This makes it impossible to add new bookings to a fresh kmymoney installation.

STEPS TO REPRODUCE
1. Create new Kmymoney project
2. Bank account creation date somewhere in the past
3. Add new booking to the account with date older than the entry date (today - 1)

OBSERVED RESULT
Can't add new booking using a category

EXPECTED RESULT
Booking gets added

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.12-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 2700U with Radeon Vega Mobile Gfx
Memory: 16 GiB of RAM (13.5 GiB usable)
Graphics Processor: AMD Radeon Vega 3 / 10 Graphics
Manufacturer: LENOVO
Product Name: 20KUCTO1WW
System Version: ThinkPad E485
Comment 1 Thomas Baumgart 2026-01-02 17:05:49 UTC
It's not the opening date of the account you use to enter the transaction but the one of the counter-account (aka category). The tool tip states exactly that. What is the account type of "1790 Umsatzsteuer Vorjahr"?
Comment 2 Alexander 2026-01-03 16:56:29 UTC
The type is liability, but this wasn't the issue. Like you mentioned, the tool tip already had the answer, but I didn't understand what was meant. I have chosen a template when doing the setup. All the accounts got the opening date of the setup and not the date provided by the user. It worked after changing all the account dates.
It should have used the provided opening date for all accounts.