Search Here

Redirect or Open Tree (List) View on Button Click in Odoo

Today you will learn how to redirect to tree view from button click in odoo. In this tutorial I will create a button in xml and method for that button in py.


How to Open Tree View on Button Click

Read More: Display multiple form and tree view for same model 

open_tree_view_on_button_click.xml

<button name="open_tree_view" type="object" class="oe_highlight" string="Open Tree View"/>

open_tree_view_on_button_click.py



Post a Comment

2 Comments

  1. It's great to show examples, with an explanation it would be even better...

    ReplyDelete