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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
3
Odpowiedzi
4813
Widoki
Use js directly or update variables through js I think Usermenu.js in web addon
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
kwi 20
|
2819 | ||
|
3
sie 18
|
10491 | ||
|
0
mar 15
|
3726 | ||
|
5
lis 24
|
46794 | ||
|
0
kwi 25
|
1350 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports