Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1161 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
set 24
1029
0
set 24
675
3
lug 25
1861
1
giu 25
633
1
giu 25
2003