Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3113 Vizualizări

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.


Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

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

Regards

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
aug. 20
3803
0
feb. 18
4037
0
sept. 17
4856
2
nov. 15
1321
1
feb. 24
12716