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
5082 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
3064
3
sie 18
10786
0
mar 15
3939
5
lis 24
47405
0
kwi 25
1634