跳至內容
選單
此問題已被標幟
1 回覆
3126 瀏覽次數

Using

var expiration_panel = $(QWeb.render('ExpireNotification', {
key:options.key,
warning: options.warning,}));

 
I'm trying to render defined qweb template with some data, but I get this error

Error: QWeb2: Template 'ExpireNotification' not found.

The qweb is added in the manifest as well as the assets.xml.


I inherit an existed qweb to add the widget.





Thanks in advance.


頭像
捨棄
最佳答案

Hi,

Try adding t-inherit-mode="primary" after the t-inherit

Regards

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 20
3821
0
2月 18
4072
0
9月 17
4900
2
11月 15
1338
1
2月 24
12737