Skip to Content
Menu
This question has been flagged
1 Atsakyti
1190 Rodiniai

Hi how do i inherit a "+ New" button in a tree? pls help i have no idea

Portretas
Atmesti
Best Answer

You can try inheriting the template below for a 'New' button in tree view.

 <t t-name="account.ListView.Buttons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary">
<xpath expr="//div[hasclass('o_list_buttons')]" position="inside">

                //Contents
        </xpath>
 </t>


Hope it helps

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
rugs. 24
1044
0
rugs. 24
687
3
liep. 25
1893
1
birž. 25
662
1
birž. 25
2088