Skip to Content
मेन्यू
This question has been flagged
1 Reply
1192 Views

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

Avatar
Discard
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

Avatar
Discard
Related Posts Replies Views Activity
1
सित॰ 24
1046
0
सित॰ 24
690
3
जुल॰ 25
1893
1
जून 25
665
1
जून 25
2141