Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
5257 Vistas

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?

Avatar
Descartar
Autor

Wrong , qweb templates has no parser, you may think qweb reports

Mejor respuesta

Use js directly or update variables through js I think Usermenu.js in web addon

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 20
3236
3
ago 18
10998
0
mar 15
4125
5
nov 24
47775
0
abr 25
1804