Summary: | problems adding securities to investment accounts | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Jack <ostroffjh> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chrisjoshtopher, lukasz.wojnilowicz |
Priority: | NOR | ||
Version: | 5.0.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/c8b202f550a0fe32a95ca0c547029ee15274f125 | Version Fixed In: | 5.0.2 |
Sentry Crash Report: |
Description
Jack
2018-05-17 23:23:46 UTC
Could you provide test file and minimal count of steps to reproduce? My initial post provides sufficient steps to reproduce this with a new .kmy file. 1) create new .kmy file with a checking account. 2) add two investment accounts, each with a brokerage account 3) create a "buy shares" transaction in the first investment account 4) when you tab out of the security field, answer "yes" to creating the new security 5) unable to "save" the transaction, so "cancel" 6) switch to investments view and note the security HAS been created 7) try again to "buy shares" and it works 8) try to "buy shares" in the second investment account, and note the same behavior. On a second try, when you CAN create the "buy shares" transaction, note it still does not offer to use the existing security, and creates a new one. Git commit 87d3c4ef0cbe1bddd19df2ef64b762c8c82b349d by Thomas Baumgart. Committed on 04/06/2018 at 14:15. Pushed by tbaumgart into branch 'master'. Reload widget to use newly created security A security created on the fly could not be used in the current edit session. This change fixes this problem. FIXED-IN: 5.1.0 M +1 -0 kmymoney/dialogs/investtransactioneditor.cpp https://commits.kde.org/kmymoney/87d3c4ef0cbe1bddd19df2ef64b762c8c82b349d In order to reuse an existing security, you need to add it to the investment account first before you can use it. To do so 1) remember the symbol of the existing investment 2) open the second investment account in the investment view 3) RMB on the list of equities 4) Select New investment 5) Enter the symbol remembered in 1) 6) Tab out of the field 7) You will be asked if you want to re-use the existing investment or create a new one 8) Select re-use and continue with the wizard 9) Done! Now goto investment account 2 and the investment is present. Git commit c8b202f550a0fe32a95ca0c547029ee15274f125 by Thomas Baumgart. Committed on 04/06/2018 at 14:20. Pushed by tbaumgart into branch '5.0'. Reload widget to use newly created security A security created on the fly could not be used in the current edit session. This change fixes this problem. FIXED-IN: 5.0.2 (cherry picked from commit 87d3c4ef0cbe1bddd19df2ef64b762c8c82b349d) M +1 -0 kmymoney/dialogs/investtransactioneditor.cpp https://commits.kde.org/kmymoney/c8b202f550a0fe32a95ca0c547029ee15274f125 This works correctly for me now. However, I might file a separate wishlist to eliminate the need to manually create the security account before using it. I also wonder if the symbol is found, but for a different type (stock v. mutual fund) if the user should still be offered to reuse the security. *** Bug 395591 has been marked as a duplicate of this bug. *** |