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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
3
Antwoorden
4822
Weergaven
Use js directly or update variables through js I think Usermenu.js in web addon
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
0
apr. 20
|
2822 | ||
|
3
aug. 18
|
10492 | ||
|
0
mrt. 15
|
3727 | ||
|
5
nov. 24
|
46806 | ||
|
0
apr. 25
|
1354 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports