Skip to Content
Menu
This question has been flagged
1 Atsakyti
1333 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
1144
0
rugs. 24
765
3
liep. 25
2182
1
birž. 25
858
1
birž. 25
2733