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

I have this extend template:

<?xml version="1.0" encoding="UTF-8"?> <template xml:space="preserve"> <t t-extend="KanbanView.buttons"> <t t-jquery="button.o_list_button_add" t-operation="after"> <button class="btn btn-primary o_list_tender_button_create" type="button">Custom Button</button> </t> </t> </template>

However, after upgrading the module, I saw no difference. Do I have to write JS or something else for it to render? I'm still new to Odoo so it would be kind of you if you provide a step by step example.

What is the proper procedure to extend a template? I really want to add more buttons to views.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
ديسمبر 20
3207
1
يناير 19
8706
1
أغسطس 17
22626
0
مايو 17
6760
0
ديسمبر 24
1226