تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1168 أدوات العرض

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
سبتمبر 24
1032
0
سبتمبر 24
676
3
يوليو 25
1868
1
يونيو 25
639
1
يونيو 25
2022