İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1214 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
1057
0
Eyl 24
711
3
Tem 25
1937
1
Haz 25
674
1
Haz 25
2210