Summary: | Accounts and institutions views values not updated after prices update | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | David Houlden <djhoulden> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | agander93 |
Priority: | NOR | ||
Version: | SVN | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
David Houlden
2011-05-07 00:05:07 UTC
SVN commit 1230778 by conet: BUG: 272659 Add a valueChanged signal to the MyMoneyFile and use it to update the value of the accounts wherever they are rendered. The valueChanged approach was chosen because the value concept is very similar to the balance concept. Plus fix the added/modified/removed notifications for schedule and security objects (observed during work on this). M +1 -1 models/accountsmodel.cpp M +1 -1 models/accountsmodel.h M +41 -2 mymoney/mymoneyfile.cpp M +8 -0 mymoney/mymoneyfile.h M +89 -0 mymoney/mymoneyfiletest.cpp M +4 -0 mymoney/mymoneyfiletest.h M +12 -4 views/kmymoneyview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1230778 The individual account values are now displayed correctly. However, the Net Worth total displayed at the bottom of the Institutions and Accounts views is not being recalculated. SVN commit 1230799 by conet: BUG: 272659 The net worth and profit where only computed after the initial load. Fixed this. Thanks David for catching it! M +26 -3 accountsmodel.cpp M +2 -0 accountsmodel.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1230799 (In reply to comment #3) > SVN commit 1230799 by conet: > > BUG: 272659 > > The net worth and profit where only computed after the initial load. Fixed > this. Thanks David for catching it! > > M +26 -3 accountsmodel.cpp > M +2 -0 accountsmodel.h > > > WebSVN link: http://websvn.kde.org/?view=rev&revision=1230799 Not sure if there may be a residual problem . If I enter a buy transaction into an empty account, the summary at the foot of ledger view does not reflect the new balance. Change to another account and then back, and the new value now appears. An edit of an existing item shows the correct amount at once. The behaviour you have observed is another unrelated bug and it only affects Investment accounts AFAICS. See BUG 272962. |