İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3092 Görünümler

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
Vazgeç
En İyi Yanıt

Hi,

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

Regards

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ağu 20
3759
0
Şub 18
3982
0
Eyl 17
4809
2
Kas 15
1276
1
Şub 24
12614