Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
4822 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
2822
3
aug. 18
10492
0
mrt. 15
3727
5
nov. 24
46806
0
apr. 25
1354