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
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
3
Besvarelser
4850
Visninger
Use js directly or update variables through js I think Usermenu.js in web addon
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Tilmeld digRelated Posts | Besvarelser | Visninger | Aktivitet | |
---|---|---|---|---|
|
0
apr. 20
|
2844 | ||
|
3
aug. 18
|
10519 | ||
|
0
mar. 15
|
3733 | ||
|
5
nov. 24
|
46850 | ||
|
0
apr. 25
|
1363 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports