Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
4844 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Tác giả

Wrong , qweb templates has no parser, you may think qweb reports

Câu trả lời hay nhất

Use js directly or update variables through js I think Usermenu.js in web addon

Ảnh đại diện
Huỷ bỏ
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