Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3101 Vistas

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
Descartar
Mejor respuesta

Hi,

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

Regards

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 20
3769
0
feb 18
3986
0
sept 17
4820
2
nov 15
1281
1
feb 24
12627