Wednesday 8 March 2017

How can create a new button in the header of the tree view after the "create button or 'import' "?

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

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

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

                         <button class="oe_button  oe_highlight" type="button"> New Buttton</button>

                </t>

         </t>

</t>

No comments:

Post a Comment