コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1198 ビュー

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
1052
0
9月 24
705
3
7月 25
1913
1
6月 25
668
1
6月 25
2173