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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
3
Risposte
5090
Visualizzazioni
Use js directly or update variables through js I think Usermenu.js in web addon
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
0
apr 20
|
3064 | ||
|
3
ago 18
|
10787 | ||
|
0
mar 15
|
3941 | ||
|
5
nov 24
|
47407 | ||
|
0
apr 25
|
1636 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports