Registered Member
|
I'm using KMyMoney 4.5.0 on Arch Linux
When I import a QIF file, I would like all the transactions to be created without any category assigned, so I can assign them all manually. In Settings --> Configure KMyMoney --> Ledger --> Import tab, I have set "Match transactions within days" to "0", and none of the payees have a default account set. Yet, when I import a QIF file, the imported transactions get assigned to a category, which is not always the right one (which is why I would prefer UNASSIGNED). How can I prevent KMyMoney from trying to guess a category for imported transactions? |
KDE Developer
|
Try to turn off the auto-fill option on the data-entry tab. That might do the trick. I should know, but it's too long ago that I was working on this part of the code.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
openSuSE Leap 15.4 64bit, KF5 |
Registered Member
|
The auto-fill option was turned off all along, so it doesn't work.
|
KDE Developer
|
Ah, shame on me. I should read the posts with more care. I thought we were talking about OFX but you mentioned QIF. That is a different story and I should also ask, if the QIF file contains any hints towards the categories (lines starting with an 'L' IIRC)?
Other than that, I need to go into the source and analyze the problem in more depth which should take some more time. Please feel free to ping us here if you don't get anything.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
openSuSE Leap 15.4 64bit, KF5 |
Registered Member
|
Digging in the source code, I found out that using the same category as the last similar transaction is actually hardcoded. I somewhat solved my problem with the following patch :
It's a quick & dirty fix that seems to work for me. I'll try to turn it into a settings when I have some more time to play with the code. |
Registered Member
|
This is a useful setting. Any idea when it can be submitted
Thanks |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]