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