[ADD] tree_view_record_id module

wouldn't it it be better to put straight:
compatible_tree = res.get('field_parent', True) is False
so without the test later and potential double assignation?