Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1156 Vues

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

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
sept. 24
1029
0
sept. 24
675
3
juil. 25
1859
1
juin 25
633
1
juin 25
1995