Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1188 Представления

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
1041
0
сент. 24
685
3
июл. 25
1889
1
июн. 25
662
1
июн. 25
2083