Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
4942 Weergaven

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
Annuleer
Auteur

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

Beste antwoord

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

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
apr. 20
2949
3
aug. 18
10665
0
mrt. 15
3816
5
nov. 24
47149
0
apr. 25
1466