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
回覆
4838
瀏覽次數
Use js directly or update variables through js I think Usermenu.js in web addon
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
0
4月 20
|
2833 | ||
|
3
8月 18
|
10511 | ||
|
0
3月 15
|
3729 | ||
|
5
11月 24
|
46833 | ||
|
0
4月 25
|
1359 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports