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

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
2949
3
أغسطس 18
10665
0
مارس 15
3816
5
نوفمبر 24
47149
0
أبريل 25
1466