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

Hi, I have problem when use tag <% %> webkit report on openerp 80 I get error when use that tag . Anyone can help me for fix this problem? Thx u

頭像
捨棄

Please post the logs.

最佳答案

I found this note on addons\report_webkit\webkit_report.py    

# We use a jinja2 sandboxed environment to render mako templates.
    # Note that the rendering does not cover all the mako syntax, in particular
    # arbitrary Python statements are not accepted, and not all expressions are
    # allowed: only "public" attributes (not starting with '_') of objects may
    # be accessed.
    # This is done on purpose: it prevents incidental or malicious execution of
    # Python code that may break the security of the server.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 20
3386
2
3月 15
7021
2
3月 15
9543
0
11月 21
2172
4
12月 20
9501