Odoo Help


Button in header of trre view call a wizard

Anna Odoo
on 8/4/16, 4:19 AM 576 views

1- i create a new button in header of tree view.

2- i have a wizard.


   - how i can call my wizard from my new button (tree view)

Ajeet : your idea Does not work

work in simple button (button in form view) not in header of tree view

Anna Odoo
on 8/4/16, 9:33 AM
Ajeet Yadav
On 8/4/16, 8:13 AM

You can call wizard action on button. Below is the example-

<button name="%(wizard_action)d" string="button name"    type="action"/>
Anna Odoo
On 8/4/16, 10:42 AM

i give an action but Does not work

but whene i click the button Nothing happen :

<?xml version="1.0" encoding="UTF-8"?>

    <templates id="template" xml:space="preserve">

         <t t-extend="ListView.buttons">

             <t t-jquery="button.o_list_button_add" t-operation="after">

                     <t t-if="widget.model=='my.model'">

                            <button class="oe_button" type="object" name="call_wizard_view">Button Header Tree</button>





About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 8/4/16, 4:19 AM
Seen: 576 times
Last updated: 8/6/16, 7:06 AM