跳至内容
菜单
此问题已终结
1 回复
3109 查看

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
3792
0
2月 18
4020
0
9月 17
4845
2
11月 15
1305
1
2月 24
12679