Skip to Content
Menu
This question has been flagged
1 Reply
3106 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
Aug 20
3784
0
Feb 18
3997
0
Sep 17
4836
2
Nov 15
1293
1
Feb 24
12656