When saving a kmy file as an anonymous file, all account names are changed to the internal id of the account (Annnnnn). The causes a problem for investment accounts, since importing transactions require the associated brokerage account to have the same name with " (Brokerage" appended. I might file a separate wish-list for KMM to simply keep a pointer to the brokerage account for an investment account, so this name restriction can be eliminated, but this is a good example of where it causes a problem.
Git commit 56cf4d5a2490c5decb497b3780c8f7bf1ac1e571 by Thomas Baumgart. Committed on 13/10/2018 at 16:06. Pushed by tbaumgart into branch '5.0'. Keep the relationship between investment and brokerage account Don't break the relationship between an investment account and its brokerage account when anonymizing the data. FIXED-IN: 5.0.2 M +22 -0 kmymoney/plugins/xml/mymoneystorageanon.cpp M +3 -1 kmymoney/plugins/xml/mymoneystorageanon.h https://commits.kde.org/kmymoney/56cf4d5a2490c5decb497b3780c8f7bf1ac1e571