Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3139 Переглядів

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.


Аватар
Відмінити
Найкраща відповідь

Hi,

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

Regards

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
серп. 20
3833
0
лют. 18
4073
0
вер. 17
4924
2
лист. 15
1339
1
лют. 24
12741