Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1187 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
вер. 24
1040
0
вер. 24
684
3
лип. 25
1887
1
черв. 25
661
1
черв. 25
2078