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
- Progetti
- MRP
La domanda è stata contrassegnata
3
Risposte
5636
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!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
0
apr 20
|
3624 | ||
|
|
3
ago 18
|
11422 | ||
|
|
0
mar 15
|
4385 | ||
|
|
5
nov 24
|
48561 | ||
|
|
0
apr 25
|
2220 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports