[Kmymoney-devel] [Bug 247528] Reconciliation updates too many accounts

Alvaro Soliverez asoliverez at kde.org
Mon Sep 6 12:55:29 CEST 2010


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





--- Comment #8 from Alvaro Soliverez <asoliverez kde org>  2010-09-06 12:55:11 ---
I can confirm it was this way since KDE3.

This is an example of some of the relevant code in KDE3, which is similar in
KDE4:

// adjust the balance of all affected accounts
  for(it_s = transaction.splits().begin(); it_s != transaction.splits().end();
++it_s) {
    MyMoneyAccount acc = m_accountList[(*it_s).accountId()];
    acc.adjustBalance(*it_s);
    if(!skipAccountUpdate) {
      acc.touch();  <--- this updates the lastModified date of the account
      invalidateBalanceCache(acc.id());
    }
    m_accountList.modify(acc.id(), acc);
  }

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list