Bug 406266 - Skrooge does not import shares in QIF correctly
Summary: Skrooge does not import shares in QIF correctly
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.18.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 25.1.0
Assignee: Guillaume DE BURE
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-05 23:53 UTC by skierpage
Modified: 2019-04-06 11:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skierpage 2019-04-05 23:53:15 UTC
SUMMARY
While looking more at bug 406243 I found the shares from the imported Quicken Deluxe QIF file under "Units" in Skrooge. But the type of each one in [Manual/Share] view is "Currency", not "Share"; also the Name is the symbol name, not the longer name, etc.

The QIF file contains 
^
!Type:Security
NACME CORP
SACMW
TStock
^

OBSERVED RESULT

Name: ACMW
Symbol: ACMW
Type: Currency
Nb decimal: 2
Country: [blank]
Unit: [blank], the drop-down includes '$' plus all the symbols
Download source: [blank]
Internet code: [blank]

EXPECTED RESULT
Name: should be the 'N' record
Type: should be the !Type identifier or maybe 'T' record, maybe transformed from "Security"/"Stock" to Skrooge's "Share"
Unit: I think this should be the Symbol?
I'm not sure about the other fields.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
In my big QIF export file from Quicken Deluxe 2012, I have

!Type:Bank 
!Type:Cash 
!Type:Cat
!Type:CCard
!Type:Invst
!Type:Memorized
!Type:Oth A
!Type:Oth L
!Type:Prices
!Type:Security
!Type:Tag

the different 'T' records for !Type:Security are
TBond
TMarket Index
TMutual Fund
TStock

I'm not sure how these should map to Skrooge Types.
Comment 1 Stephane MANKOWSKI 2019-04-06 11:58:00 UTC
Git commit f58616e177b0e0eb5679852821e9b5db48514f08 by Stephane MANKOWSKI.
Committed on 06/04/2019 at 11:57.
Pushed by smankowski into branch 'master'.

Skrooge does not import shares in QIF correctly

M  +1    -0    CHANGELOG
M  +25   -2    plugins/import/skrooge_import_qif/skgimportpluginqif.cpp
A  +5    -0    tests/input/skgtestimportqif2/406266.qif
M  +22   -1    tests/skgbankmodelertest/skgtestimportqif2.cpp

https://commits.kde.org/skrooge/f58616e177b0e0eb5679852821e9b5db48514f08