SUMMARY I created an investment of type Stock and added a transaction with transaction date before today (the day I created the investment). I entered a Buy transaction of the stock, then I saved the KMyMoney data file. KMyMoney displays the following message in a window. Note that it is not possible to modify the creation date of the investment in the UI, so the warning cannot be avoided. * Problems with transactions * Transaction 'T000000000000021695' post date '24/03/2025' is older than opening date '%4' of account '25/03/2025'. Account opening date updated. * Potential problem with securities/currencies * The security 'Rheinmetall' has no price set for the first use on '24/03/2025'. Price for the security has been extracted from transaction and added to price history. Finished: 2 problems corrected. 0 problems still present. STEPS TO REPRODUCE 1. Create the stock investment called Rheinmetall (in this case) 2. Enter a buy transaction with transaction date before today. 3. Save the file. OBSERVED RESULT The aforementioned warning, which is also incorrectly formatted. EXPECTED RESULT No warning. SOFTWARE/OS VERSIONS Windows 10 ADDITIONAL INFORMATION KMyMoney version 5.1.92-bfd5a63 (from the Help/About KMyMoney menu) KMyMoney master build 4183
Git commit e3e4e4cabe4137a1eef8c98b72d272c10d0a533f by Thomas Baumgart. Committed on 26/03/2025 at 12:51. Pushed by tbaumgart into branch 'master'. Fix parameters to log message M +1 -0 kmymoney/mymoney/mymoneyfile.cpp https://invent.kde.org/office/kmymoney/-/commit/e3e4e4cabe4137a1eef8c98b72d272c10d0a533f
To change the opening data of an investment go to the accounts view, activate View/Show all accounts and edit the account. The warning shows up exactly once by design. It has been corrected in the meantime.
(In reply to Tony from comment #0) > SUMMARY ... > * Potential problem with securities/currencies > * The security 'Rheinmetall' has no price set for the first use on > '24/03/2025'. > Price for the security has been extracted from transaction and added to > price history. Does not adding the price to the history when the transaction is created have an impact on the content of investment reports?
I don't think so, because otherwise you don't have a price at all.