Odoo Help


This community 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.


Button in header of trre view call a wizard

Anna Odoo
on 8/4/16, 4:19 AM 188 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>





Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


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