Skip to Content
Menu
This question has been flagged
3 Replies
5012 Rodiniai

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?

Portretas
Atmesti
Autorius

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
bal. 20
2985
3
rugp. 18
10709
0
kov. 15
3870
5
lapkr. 24
47236
0
bal. 25
1503