Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1323 มุมมอง

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
1139
0
ก.ย. 24
760
3
ก.ค. 25
2157
1
มิ.ย. 25
854
1
มิ.ย. 25
2681