Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3117 Представления

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
3807
0
февр. 18
4045
0
сент. 17
4865
2
нояб. 15
1325
1
февр. 24
12724