تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3128 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أغسطس 20
3822
0
فبراير 18
4072
0
سبتمبر 17
4904
2
نوفمبر 15
1338
1
فبراير 24
12737