Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
5317 มุมมอง

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?

อวตาร
ละทิ้ง
ผู้เขียน

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

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 20
3300
3
ส.ค. 18
11064
0
มี.ค. 15
4147
5
พ.ย. 24
47867
0
เม.ย. 25
1848