Taste, um sich zu einer anderen Baumansicht in Odoo umzuleiten

def button_name(self):
return {
         'type': 'ir.actions.act_window',
         'res_model': 'your_model_name',
         'view_type': 'form',
         'view_mode': 'tree,form',
         'views': [(view_id_tree[0].id, 'tree'),(False,'form')],
         'view_id ref="your_module_name.your_view_id"': '',
         'target': 'current',
         'domain': domain,
        }
Chamindu Fernando