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
- Kirjanpito
- Varastointi
- PoS
- Projekti
- MRP
Tämä kysymys on merkitty
3
Vastaukset
5544
Näkymät
Use js directly or update variables through js I think Usermenu.js in web addon
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
|
0
huhtik. 20
|
3579 | ||
|
|
3
elok. 18
|
11344 | ||
|
|
0
maalisk. 15
|
4322 | ||
|
|
5
marrask. 24
|
48392 | ||
|
|
0
huhtik. 25
|
2145 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports