Bug 487813

Summary: Make remote online offer available under additional names
Product: [Frameworks and Libraries] alkimia Reporter: Ralf Habacker <ralf.habacker>
Component: Online quotes widgetAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 8.2
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 488490    
Attachments: test case

Description Ralf Habacker 2024-05-30 19:57:22 UTC
Created attachment 170008 [details]
test case

SUMMARY
In KMyMoney files, the names of online quote sources used are stored in the price or rate queried.

STEPS TO REPRODUCE
1.  start kmymoney from master branch
2. open appended file
4. select menu entry Extra->"Update shares or exchange rates"
5. select the present entry and press "online course notes"

OBSERVED RESULT
If these prices or rates are to be updated in the future by an installed remote online source, there are currently two options:

1. the new source must be selected for each entry in the "Update shares or exchange rates" dialog. This has the disadvantage that you have to do this for all existing price or short entries.

2. the installed remote online source is duplicated and the name is changed to the previously used source. The disadvantage here is that this process must be repeated manually after updating the source.

EXPECTED RESULT
As an alternative, it would therefore be helpful if you could give a remote online source additional names under which this source is available or that you can create a reference to a remote online source, which then receives the required name.
Comment 1 Bug Janitor Service 2024-06-08 13:08:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/office/alkimia/-/merge_requests/44
Comment 2 Ralf Habacker 2024-07-12 16:21:05 UTC
Git commit d952b3b35fd8a94c8bc7b26851e5e9877c22bd1a by Ralf Habacker.
Committed on 12/07/2024 at 15:58.
Pushed by habacker into branch 'master'.

Add support to create a local online source as reference to a remote one

A new button called "Add reference" is added to the quote list widget,
which can be used to create a reference.

If a source reference is selected in the list of sources, the settings of
the referenced source are visible in the source details.
FIXED-IN:8.2

M  +3    -0    src/alkonlinequote_p.cpp
M  +24   -3    src/alkonlinequotes.ui
M  +4    -1    src/alkonlinequotesmodel.cpp
M  +1    -0    src/alkonlinequotesmodel.h
M  +22   -1    src/alkonlinequotesource.cpp
M  +30   -0    src/alkonlinequotesource.h
M  +3    -0    src/alkonlinequotesource_p.h
M  +5    -0    src/alkonlinequotesprofile.cpp
M  +1    -0    src/alkonlinequotesprofile.h
M  +9    -0    src/alkonlinequotesprofile_p.cpp
M  +1    -0    src/alkonlinequotesprofile_p.h
M  +76   -34   src/alkonlinequoteswidget.cpp

https://invent.kde.org/office/alkimia/-/commit/d952b3b35fd8a94c8bc7b26851e5e9877c22bd1a