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
- Projet
- MRP
Cette question a été signalée
3
Réponses
5675
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'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
0
avr. 20
|
3701 | ||
|
|
3
août 18
|
11518 | ||
|
|
0
mars 15
|
4419 | ||
|
|
5
nov. 24
|
48744 | ||
|
|
0
avr. 25
|
2316 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports