Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3097 Zobrazení

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
Zrušit
Nejlepší odpověď

Hi,

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

Regards

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
srp 20
3765
0
úno 18
3983
0
zář 17
4814
2
lis 15
1278
1
úno 24
12623