Created attachment 174384 [details] Test kmy file SUMMARY Ledger shows incorrect value for credit card account when reconciled transactions are hidden STEPS TO REPRODUCE 1. Load test.kmy file 2. Show ledger 3. Hide reconciled transactions OBSERVED RESULT Ledge shows the correct reconciliation (100) but now the the balance is negative (after the entry) and Payments are negative and Charges are positive. If the option "Hide reconciled transactions" is removed. it works correctly EXPECTED RESULT Ledger results do not change with the option "Hide reconciled transactions" on or off SOFTWARE/OS VERSIONS Operating System: Gentoo Linux 2.15 KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.3 Kernel Version: 6.10.12-gentoo-archlinux (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2 ADDITIONAL INFORMATION
Created attachment 174385 [details] test kmymoney file
Git commit 27e8ac3e6850cd915e1346b9d89143dee54dc68d by Thomas Baumgart. Committed on 06/10/2024 at 12:24. Pushed by tbaumgart into branch 'master'. Fix balance display when some transactions are not shown For liability accounts the starting balance for the first visible transaction was not inverted causing the balances to be incorrect. This change fixes the problem. FIXED-IN: 5.2 M +3 -7 kmymoney/models/specialledgeritemfilter.cpp https://invent.kde.org/office/kmymoney/-/commit/27e8ac3e6850cd915e1346b9d89143dee54dc68d