[kmymoney] [Bug 511553] Closed account showing incorrect balance in net worth by month report

Thomas Baumgart bugzilla_noreply at kde.org
Sun Nov 9 16:26:34 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=511553

Thomas Baumgart <thb at net-bembel.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/offi |https://invent.kde.org/offi
                   |ce/kmymoney/-/commit/2eedc2 |ce/kmymoney/-/commit/4887be
                   |ec2bb7c46209c411702e63da81d |bb128cdce0278cf721645bbf50e
                   |ae77d61                     |ca4d319

--- Comment #6 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit 4887bebb128cdce0278cf721645bbf50eca4d319 by Thomas Baumgart.
Committed on 08/11/2025 at 16:55.
Pushed by tbaumgart into branch '5.2'.

Fix pivot reports with transactions in closed accounts

The calculation of the balance of closed accounts when they need to be
included in a pivot report did not work properly. This change fixes the
problem and provides a test case for the scenario.
FIXED-IN: 5.2.2
(cherry picked from commit 2eedc2ec2bb7c46209c411702e63da81dae77d61)

M  +10   -10   kmymoney/mymoney/mymoneyfile.h
M  +1    -1    kmymoney/mymoney/storage/journalmodel.cpp
M  +16   -9    kmymoney/plugins/views/reports/core/pivottable.cpp
M  +1    -0    kmymoney/plugins/views/reports/core/tests/data/CMakeLists.txt
A  +8    -0   
kmymoney/plugins/views/reports/core/tests/data/test-closed-account-report-pivottable-Net-Worth-By-Month-_Customized_.csv
A  +95   -0   
kmymoney/plugins/views/reports/core/tests/data/test-closed-account.xml

https://invent.kde.org/office/kmymoney/-/commit/4887bebb128cdce0278cf721645bbf50eca4d319

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list