跳至內容
選單
此問題已被標幟
2510 瀏覽次數

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
12月 20
3235
1
1月 19
8724
1
8月 17
22632
0
5月 17
6770
0
12月 24
1244