Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1191 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 24
1044
0
wrz 24
687
3
lip 25
1893
1
cze 25
662
1
cze 25
2106