Skip to Content
मेन्यू
This question has been flagged
1 Reply
3090 Views

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.


Avatar
Discard
Best Answer

Hi,

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

Regards

Avatar
Discard
Related Posts Replies Views Activity
0
अग॰ 20
3759
0
फ़र॰ 18
3980
0
सित॰ 17
4809
2
नव॰ 15
1274
1
फ़र॰ 24
12614