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

How can i access env or any odoo instance from an odoo qweb templates? Here I am doing operations on the template where UserMenu and here is that possible to check using t-if with and odoo instance or env?

الصورة الرمزية
إهمال
الكاتب

Wrong , qweb templates has no parser, you may think qweb reports

أفضل إجابة

Use js directly or update variables through js I think Usermenu.js in web addon

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 20
2822
3
أغسطس 18
10492
0
مارس 15
3726
5
نوفمبر 24
46803
0
أبريل 25
1354