[Kmymoney-devel] [kmymoney4] [Bug 341562] When importing a QIF file containing an intinc transaction, the interest income gets imported into the ledger as a fee, and the checking account is debited instead of being credited.

allan agander93 at gmail.com
Fri Dec 5 18:44:51 UTC 2014


--- Comment #1 from allan <agander93 at gmail.com> ---
Advice/opinions  needed, please.

This behaviour appears to be the result of this code snippet  ( circa line 795
in mymoneystatementreader.cpp) -
if (statementTransactionUnderImport.m_strInterestCategory.isEmpty())
else {//  Ensure category sub-accounts are dealt with properly

It seems that, in spite of the actual imported activity type, this code knows
better and decides on the basis of the sign of the amount.

I'm not sure that's such a good idea, apart from causing head-scratching, i
might wish to import a negative fee, to offset a previous error, or similarly
for a dividend.

Any thoughts, please?

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

More information about the KMyMoney-devel mailing list