Summary: | CSV importer : can not choose in which account to import | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | antoine <antoine> |
Component: | importer | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | minor | ||
Priority: | NOR | ||
Version: | 5.1.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
antoine
2022-04-01 18:47:02 UTC
If you change the name of that account from Balance to Account (or anything else) do you still have the problem? For me, when I hit "Import CSV" the next page of the wizard shows which account is being used, and as it doesn't know, it asks me to specify the account. I even created a checking account named "Balance" and on csv import, it still asked me which account to use. Looking at https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/plugins/csv/import/core/csvimportercore.cpp#L708 the CSV importer scans the lines of the statement marked as headers to find a matching account name or account number. If exactly one match is found, the CSV importer assigns it to the statement (see https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/plugins/csv/import/core/csvimportercore.cpp#L829). That in fact bypasses the question for the account in the general statement importer. So it all depends on your data and account names/numbers. If you never want the CSV importer to scan for a matching account, turn off the CSV importer autdetection option "Account in bank statement" in the plugin settings. (In reply to Jack from comment #1) > If you change the name of that account from Balance to Account (or anything > else) do you still have the problem? changing the name of that account solved this issue (In reply to Thomas Baumgart from comment #2) > If you never want the CSV importer to scan for a matching account, turn off > the CSV importer autdetection option "Account in bank statement" in the > plugin settings. thank you for the tip |