Bug 451499

Summary: QIF Importer ignores investment's trading currency
Product: [Applications] kmymoney Reporter: zoltan1980
Component: importerAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description zoltan1980 2022-03-14 17:31:43 UTC
SUMMARY

QIF Importer ignores investment's trading currency. Could you please look into the issue? Thanks!

STEPS TO REPRODUCE

1. Create an Investment Account
2. Create an Investment inside the Investment Account. Set its trading currency to be different from the Investment Account's currency.
3. Enter a BUY or SELL transaction into the ledger manually. It will use the trading currency of the Investment.
4. Import a BUY or SELL transaction from QIF. It will ignore the trading currency of the Investment and will use the currency of the parent Investment Account instead.

OBSERVED RESULT

Investment transactions imported from QIF use the currency of the parent Investment Account.

EXPECTED RESULT

Investment transactions imported from QIF should use the trading currency of the Investment itself.