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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
3
Trả lời
4844
Lượt xem
Use js directly or update variables through js I think Usermenu.js in web addon
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 4 20
|
2841 | ||
|
3
thg 8 18
|
10517 | ||
|
0
thg 3 15
|
3732 | ||
|
5
thg 11 24
|
46838 | ||
|
0
thg 4 25
|
1361 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports