Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1027 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
915
0
Sep 24
566
3
Jul 25
1383
1
Jun 25
463
1
Jun 25
1290