Bug 372467

Summary: Wrong investment account total in per-institution view
Product: [Applications] kmymoney Reporter: Alexander Kireev <alexander>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: major CC: lukasz.wojnilowicz
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0
Sentry Crash Report:
Attachments: Institution view

Description Alexander Kireev 2016-11-14 13:21:59 UTC
In institution tree investment account has wrong total if you have same security at 2 or more accounts.
1) First time define a security everything is OK (at any account)
2) Then try to add the same security to another account (with different institution). System ask you to reuse existing one. Say "Yes".
3) Make some transactions (e.g. "buy security") on both account.
Now on "institution" view you will have all value at account where security was initially created).
The problem seems to be in filter-logic that institution view uses.
Comment 1 wojnilowicz 2017-05-01 14:07:31 UTC
Created attachment 105296 [details]
Institution view

No problem with my institutions view