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

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
1033
0
ก.ย. 24
676
3
ก.ค. 25
1868
1
มิ.ย. 25
640
1
มิ.ย. 25
2032