İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1331 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eyl 24
1144
0
Eyl 24
765
3
Tem 25
2181
1
Haz 25
857
1
Haz 25
2732