İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1180 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
1035
0
Eyl 24
677
3
Tem 25
1878
1
Haz 25
648
1
Haz 25
2053