Bug 275963

Summary: Operations imported in the primary currency unit, not the account unit
Product: [Applications] skrooge Reporter: Médéric Boquien <mboquien>
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED FIXED    
Severity: normal CC: stephane
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Médéric Boquien 2011-06-18 10:47:50 UTC
Version:           unspecified (using KDE 4.6.3) 
OS:                Linux

Operations imported from a QIF file (not tried other formats) are assumed to be in the primary currency unit, not the account unit. For instance if my primary currency unit is USD and my account unit is EUR, if i import a 1EUR operation, Skrooge will consider it as a 1USD operation. It is easy enough to fix after the import.  

Reproducible: Always



Expected Results:  
I think that by default the currency of imported operations should be the currency unit of the account.

Thanks!
Comment 1 Stephane MANKOWSKI 2011-06-19 16:46:25 UTC
Git commit 83ab82617005add4ba7d6a8ae201ef4a402dcb8a by Stephane Mankowski.
Committed on 19/06/2011 at 16:46.
Pushed by smankowski into branch 'Feature'.

BUG: 275963: Operations imported in the primary currency unit, not the account unit

M  +1    -0    CHANGELOG     
M  +1    -1    skgbankmodeler/skgdocumentbank.cpp     
M  +27   -7    skgbankmodeler/skgimportqif.cpp     
M  +70   -2    skgbankmodelertest/skgtestimportqif.cpp     

http://commits.kde.org/skrooge/83ab82617005add4ba7d6a8ae201ef4a402dcb8a