Bug 489784

Summary: Importing a QIF the account type is changed
Product: [Applications] skrooge Reporter: Fabiano Caruana <bugzilla>
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: My QIF-File in Kasse.zip

Description Fabiano Caruana 2024-07-05 11:24:24 UTC
Skrooge 2.32.0

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
OpenSuse Leap 15.5

Hi Stephane,

My account "Kasse" has the type "Wallet". After the QIF import, the type is "Current".
Likewise, my account "Mastercard" (type "Credit card"), after the QIF import the type is "Current".

greetings
Udo
Comment 1 Fabiano Caruana 2024-07-09 12:27:08 UTC
Hi Stephane,

I have now tested the "!Type=Cash" in the QIF import file for the account "Kasse", but after the QIF import, Kasse has the type "Other" instead of "Wallet"

I entered the "!Type=CCard" for the account "Mastercard" and it now works correctly. The type is not changed.

What else can I set for the account "Kasse"?

greetings
Udo
Comment 2 Stephane MANKOWSKI 2024-08-31 18:52:43 UTC
Hi,

Could you provide me a sample qif file ?
Don't forget to anonymize it !
Comment 3 Fabiano Caruana 2024-09-01 08:59:15 UTC
Created attachment 173190 [details]
My QIF-File in Kasse.zip

Hi Stephane,

here ist my QIF-File in "Kasse.zip"

Greetings
Udo
Comment 4 Stephane MANKOWSKI 2024-09-02 20:30:23 UTC
Git commit 984da8f5233154d86fc5ed35c3e0878c0e910c1a by Stephane MANKOWSKI.
Committed on 02/09/2024 at 20:30.
Pushed by smankowski into branch 'master'.

Importing a QIF the account type is changed

M  +1    -0    CHANGELOG
M  +4    -2    plugins/import/skrooge_import_qif/skgimportpluginqif.cpp
A  +37   -0    tests/input/skgtestimportqif2/489784.qif
M  +36   -0    tests/skgbankmodelertest/skgtestimportqif2.cpp

https://invent.kde.org/office/skrooge/-/commit/984da8f5233154d86fc5ed35c3e0878c0e910c1a