I tested tree in window Account Element and noticed strange behaviour when deleting records. I would like to discuss this behaviour and give some impulses to make it better.
My question is, how should be handled deleting of summary records, when they have some sub nodes?
I noticed when parent tab is deleted, child records are not deleted, but also not displayed in tree, only first child of deleted parent was displayed in root (strange). Closing the window, running cache reset and opening window again made childs of deleted parent displayed (why they are not displayed without cache reset? Just after parent is deleted?).
What about idea when all child notes will be deleted, where parent record is deleted? Maybe pop up dialog to ask user what should be done (Delete sub nodes or leave them in root) ?
Anyway, I think that mentioned bug with non displayed child nodes of already deleted parent should be fixed.