Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1155 Weergaven

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

Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
sep. 24
1029
0
sep. 24
675
3
jul. 25
1859
1
jun. 25
633
1
jun. 25
1995