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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
3
الردود
4819
أدوات العرض
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 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports