Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3096 Widoki

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.


Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

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

Regards

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 20
3765
0
lut 18
3983
0
wrz 17
4813
2
lis 15
1278
1
lut 24
12623