Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1167 Visninger

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

Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
sep. 24
1032
0
sep. 24
675
3
jul. 25
1865
1
jun. 25
635
1
jun. 25
2018