Skip to Content
Menu
This question has been flagged
3 Replies
4820 Zobrazenia

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
apr 20
2822
3
aug 18
10492
0
mar 15
3726
5
nov 24
46803
0
apr 25
1354