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:
- CRM
- e-Commerce
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
3
Відповіді
4811
Переглядів
Use js directly or update variables through js I think Usermenu.js in web addon
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
0
квіт. 20
|
2819 | ||
|
3
серп. 18
|
10491 | ||
|
0
бер. 15
|
3726 | ||
|
5
лист. 24
|
46794 | ||
|
0
квіт. 25
|
1350 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports