Skip to Content
Menú
This question has been flagged
3 Respostes
4804 Vistes

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

Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
d’abr. 20
2819
3
d’ag. 18
10489
0
de març 15
3726
5
de nov. 24
46793
0
d’abr. 25
1350