跳至內容
選單
此問題已被標幟
3 回覆
4838 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
4月 20
2833
3
8月 18
10511
0
3月 15
3729
5
11月 24
46833
0
4月 25
1359