Bug 514076 - Wrong date gets checked when adding a booking
Summary: Wrong date gets checked when adding a booking
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: kmymoney
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.2.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-02 14:12 UTC by Alexander
Modified: 2026-01-03 16:56 UTC (History)
0 users

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


Attachments
Wrong date check (57.38 KB, image/png)
2026-01-02 14:12 UTC, Alexander
Details

Note You need to log in before you can comment on or make changes to this bug.
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.