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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
3
Replies
3877
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Apr 20
|
1742 | ||
|
3
Aug 18
|
9286 | ||
|
0
Mar 15
|
2847 | ||
|
5
Nov 24
|
43671 | ||
|
0
Feb 24
|
436 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports