Skip to Content
Menu
This question has been flagged
3 Replies
4979 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
2961
3
rugp. 18
10673
0
kov. 15
3823
5
lapkr. 24
47164
0
bal. 25
1467