Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1036 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
922
0
set 24
570
3
lug 25
1415
1
giu 25
485
1
giu 25
1358