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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
3
Réponses
4809
Vues
Use js directly or update variables through js I think Usermenu.js in web addon
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
avr. 20
|
2819 | ||
|
3
août 18
|
10489 | ||
|
0
mars 15
|
3726 | ||
|
5
nov. 24
|
46794 | ||
|
0
avr. 25
|
1350 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports