跳至内容
菜单
此问题已终结
1 回复
1151 查看

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

形象
丢弃
相关帖文 回复 查看 活动
1
9月 24
1026
0
9月 24
675
3
7月 25
1859
1
6月 25
632
1
6月 25
1984