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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
3
回复
4854
查看
Use js directly or update variables through js I think Usermenu.js in web addon
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
4月 20
|
2847 | ||
|
3
8月 18
|
10526 | ||
|
0
3月 15
|
3735 | ||
|
5
11月 24
|
46865 | ||
|
0
4月 25
|
1365 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports