Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3132 Visualizações

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
Cancelar
Melhor resposta

Hi,

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

Regards

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
ago. 20
3825
0
fev. 18
4072
0
set. 17
4911
2
nov. 15
1338
1
fev. 24
12739