Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1028 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
zář 24
916
0
zář 24
566
3
čvc 25
1386
1
čvn 25
466
1
čvn 25
1297