[FIX] tree view descendant record can switch form

the tree view descendant record has not in the self.dataset, so self.dataset.select_id(id) return false , lead to can not switch to form view.
Add the descendant record id to self.dataset.ids, for switching to form view.