[Kmymoney-devel] [Bug 246815] Cannot create Loan account when I lend money

Cristian Onet onet.cristian at gmail.com
Fri Aug 6 12:14:00 CEST 2010


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


Cristian Onet <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #11 from Cristian Onet <onet cristian gmail com>  2010-08-06 12:13:59 ---
I was missing the following code in the account() method:
------------------------------
if (m_account.isLoan()) {
   // in case we lend the money we adjust the account type
   if (!moneyBorrowed())
     m_account.setAccountType(MyMoneyAccount::AssetLoan);
------------------------------

So I guess we can close this as fixed. Thanks for the discussion :).

-- 
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