Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1166 Tampilan

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

Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Sep 24
1030
0
Sep 24
675
3
Jul 25
1865
1
Jun 25
635
1
Jun 25
2013