Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
4813 Widoki

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?

Awatar
Odrzuć
Autor

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 20
2819
3
sie 18
10491
0
mar 15
3726
5
lis 24
46794
0
kwi 25
1350