[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmymoney-devel
Subject:    [Kmymoney-devel] [Bug 247528] Reconciliation updates too many
From:       Alvaro Soliverez <asoliverez () kde ! org>
Date:       2010-09-06 10:55:29
Message-ID: 20100906105529.D0A4663882 () immanuel ! kde ! org
[Download RAW message or body]

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.
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic